码迷,mamicode.com
首页 > Web开发 > 详细

标准初始化css样式表

时间:2016-04-15 00:40:21      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

body { font-size:12px; line-height:1.3; font-family:‘微软雅黑‘, Tahoma,Helvetica,Arial,‘宋体‘, sans-serif;}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code,form, fieldset, legend, input, textarea, p, blockquote, th, td { margin:0;    padding:0;}
table { border-collapse:collapse;    border-spacing:0;}
fieldset, img { border:0;}
address, caption, cite, code, dfn, em,  th, var { font-style:normal;    font-weight:normal;}
li { list-style:none;}
caption, th { text-align:left;}
h1, h2, h3, h4, h5, h6 { clear:both; font-size:100%; font-weight:normal;}
q:before, q:after { content:‘‘;}
abbr, acronym { border:0;    font-variant:normal;}
input, textarea, select { font-family:inherit; font-size:inherit; font-weight:inherit;}
input, textarea, select { *font-size:100%;}
legend { color:#000;}
del, ins { text-decoration:none;}
select, input, button, textarea {    font:99% Verdana, arial, helvetica, clean, sans-serif;}
table { font-size:inherit; font:100%;}
pre, code, kbd, samp, tt { font-family:monospace;    *font-size:108%; line-height:100%;}
sup,sub { vertical-align: baseline; position: relative;}
sup { vertical-align:text-top;}
sub { vertical-align:text-bottom;}
a{ text-decoration:none;}

 

标准初始化css样式表

标签:

原文地址:http://www.cnblogs.com/wangjiayi/p/5393624.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!