首页
文章
设计
配色
色彩
文章
文章
设计
web页面标签重置cssReset(新增HTML5标签)
时间:2015-04-24 13:26:38
浏览:3434 次
本站文章,除标明(转)的文章外,其他的都是本站原创,转载请标明出处,谢谢。
为了保证各个浏览器初始化时页面布局一致,这就需要在页面开始时重置下页面标签;<blockquote> @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;}</blockquote>
上一篇:
简单CSS3技巧实现的Logo动画(转)
下一篇:
推荐使用的版本号控制方式(转)
赞
0
踩
0