为了保证各个浏览器初始化时页面布局一致,这就需要在页面开始时重置下页面标签;
@charset "utf-8";
body, h1, h2, h3, h4, h5, h6, hr, p, dl, dt, dd, ul, ol, th, td, pre, blockquote, fieldset, lengend, input, button, textarea, form{margin: 0; padding: 0;}
body, input, button, textarea, select{font-size:12px; font-family: "Microsoft YaHei", Helvetica, Tahoma, Arial, sans-serif;}
h1, h2, h3, em, i, th, caption, cite, code, address{font-style: normal; font-weight: normal;}
ul, ol{list-style: none;}
img, fieldset{border: 0 none;}
input, textarea{outline: none;}
table{border-collapse: collapse; border-spacing: 0;}
button, input, select, label{vertical-align:middle;}
a{color: #333; outline: none; text-decoration: none;}
a:focus{outline: none;}
a:hover{text-decoration: underline;}
a:active{star:expression(this.onfocus=this.blur());}
.clearfix{_zoom:1; /*height:1%;*/}
.clearfix:after{content:""; clear: both; display:block;}
header, hgroup, nav, menu, main, section, article, summary, details, aside, figure, figcaption, footer{display: block;}
下一篇:推荐使用的版本号控制方式(转)