首页 > Web开发 > 详细

css样式

时间:2015-06-02 10:38:16      阅读:235      评论:0      收藏:0      [点我收藏+]

这是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;}  

 

css样式

原文:http://www.cnblogs.com/zxiong/p/4545526.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!