虽然CSS样式的学习需要我们动手多实践,需要多做案例,思致思考,但有时候注意资料的收集与整理也是非常重要的,在实际开发中往往会起到事半功倍的效果。
一、按钮样式
以下为引用的内容: Example Source Code .buttoncss { font-family: "tahoma", "宋体"; font-size:9pt; color: #003399; border: 1px #003399 solid; color:#006699; border-bottom: #93bee2 1px solid; border-left: #93bee2 1px solid; border-right: #93bee2 1px solid; border-top: #93bee2 1px solid; background-image:url(../images/bluebuttonbg.gif); background-color: #e8f4ff; cursor: hand; font-style: normal ; width:60px; height:22px; } |
以下为引用的内容: Example Source Code .bluebuttoncss { font-family: "tahoma", "宋体"; font-size: 9pt; color: #003366; border: 0px #93bee2 solid; border-bottom: #93bee2 1px solid; border-left: #93bee2 1px solid; border-right: #93bee2 1px solid; border-top: #93bee2 1px solid;*/ background-image:url(../images/blue_button_bg.gif); background-color: #ffffff; cursor: hand; font-style: normal ; } |
以下为引用的内容: Example Source Code .redbuttoncss { font-family: "tahoma", "宋体"; font-size: 9pt; color: #0066cc; border: 1px #93bee2 solid; border-bottom: #93bee2 1px solid; border-left: #93bee2 1px solid; border-right: #93bee2 1px solid; border-top: #93bee2 1px solid; background-image:url(../images/redbuttonbg.gif); background-color: #ffffff; cursor: hand; font-style: normal ; } |
以下为引用的内容: Example Source Code .selectbuttoncss{ font-family: "tahoma", "宋体"; font-size: 9pt; color: #0066cc; border: 1px #93bee2 solid; border-bottom: #93bee2 1px solid; border-left: #93bee2 1px solid; border-right: #93bee2 1px solid; border-top: #93bee2 1px solid; background-image:url(../images/blue_button_bg.gif); background-color: #ffffff; cursor: hand; font-style: normal ; } |