css样式

这是CSS的定义经常用到的样式:

body{ width:100%; background:#000; text-align:center;font:12px "宋体", Arial, Helvetica, sans-serif; color:#d9d9d9; line-height:20px;}
*{ padding:0; margin:0;}
.clear{ clear:both; width:100%; height:0px; overflow:hidden;}
.hidden{ display:none;}
.clearfix:after { clear:both; content:' '; display:block; font-size:0; line-height:0; visibility:hidden; width:0; height:0}
* html .clearfix, *:first-child+html .clearfix { zoom:1 }
ul,li{ list-style-type:none;}
i,em,b{ font-style:normal;}
img{ border:none;vertical-align:middle}
a{text-decoration:none; border:none;}
a:link { color: #0033ff; text-decoration: none;}
a:visited { text-decoration: none;}
a:hover { text-decoration: none; color: #FF0000;}
a:active { text-decoration: none;}
table{ border-collapse:collapse; border-spacing:0;}  

 

posted @ 2015-06-02 09:29  梦锁湘江  阅读(190)  评论(0编辑  收藏  举报