cssreset

/* css reset**/
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td, map{margin: 0; padding: 0;}
* html,* html body{background-image: url(about:blank);background-attachment: fixed;}
ul, ol, dl, li{ list-style: none;}
pre {white-space: pre-wrap;word-wrap: break-word;}
h3{_zoom: 1;}
input,textarea{resize: none; outline: none; font-family:Arial;word-wrap: break-word;}
fieldset, img{border: 0;}
legend { display:none; }
a{color: #000; text-decoration: none;
    &:hover { color:#000; }
}
    
i{ font-style:normal;}
a:focus{outline: none;}
em{font-style: normal;}
html{_overflow-x: hidden;}
body{ background-color: #fff; color: #000; font-size: 12px; font-family: "Microsoft YaHei", "WenQuanYi Micro Hei","宋体",Arial, sans-serif; 
-webkit-font-smoothing:antialiased; }

.clear_f{
    clear: both; overflow:hidden; height:0px;
}
  • background-image: url(about:blank);
    这段代码是专为IE6写的,帮助相对于窗口固定位置的元素实现无抖动效果。

你可能感兴趣的:(cssreset)