CSS代码
- /*初始化样式*/
- body{font-family:"宋体", Arial,Verdana, sans-serif, Helvetica; font-size:12px; color:#010000;}
- dl,dd,ul{list-style:none;}
- a img{border:0;}
- div,form,img,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6{padding:0;margin:0;border:0;}
- input{ vertical-align:middle;}
- body,html{ height:100%;}
- /*字体样式[定义规则,小写f加字体属性]*/
- .fU{ text-decoration:underline;}
- .fN{ text-decoration:none;}
- .fB{ font-weight:bold;}
- .f12{ font-size:12px;}
- .f14{ font-size:14px;}
- /*公用空隙[定义规则,小写space加空隙高度] */
- .space3{ height:3px; clear:both; font-size:1px;overflow:hidden;}
- .space5{ height:5px; clear:both; font-size:1px;overflow:hidden;}
- .space6{ height:6px; clear:both; font-size:1px;overflow:hidden;}
- .space9{ height:9px; clear:both; font-size:1px;overflow:hidden;}
- .space10{ height:10px; clear:both; font-size:1px;overflow:hidden;}
- .space12{ height:12px; clear:both; font-size:1px;overflow:hidden;}
- .space15{ height:15px; clear:both; font-size:1px;overflow:hidden;}
- /*全局链接颜色 */
- a:link {color:#1f3a87; text-decoration:none;}
- a:visited {color:#83006f;text-decoration:none;}
- a:hover {color:#bc2931; text-decoration:underline;}
- a:active {color:#bc2931;}
- /* 字体颜色属性 [定义规则,小写c加颜色名称] */
- .cRed,a.cRed:link,a.cRed:visited{color:#f00;}
- .cBlue,a.cBlue:link,a.cBlue:visited{color:#00c;}
- .cDRed,a.cDRed:link,a.cDRed:visited{color:#bc2931;}
- .cGray,a.cGray:link,a.cGray:visited{color:#4F544D;}
- .cDGray,a.cDGray:link,a.cDGray:visited{color:#666;}
- .cWhite,a.cWhite:link,a.cWhite:visited{color:#fff;}
- .cBlack,a.cBlack:link,a.cBlack:visited{color:#000;}
- .cYellow,a.cYellow:link,a.cYellow:visited{color:#ff0;}
- .cGreen,a.cGreen:link,a.cGreen:visited{color:#008000;}
- /* 其他属性 */
- .l{ float: left;}
- .r{ float: right;}
- .clear{ clear: both; font-size:1px; width:1px; height:0; visibility: hidden; }
- .hidden{display: none;}
- .unL,.unL a{text-decoration: none;}
- .unB{border:none;}