You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
1.1 KiB

3 years ago
  1. *{margin: 0;padding: 0;}/*将所有的HTML元素的默认边距清零*/
  2. html body{font-size:12px; font-family: "宋体";color:#000;}/*对HTML的元素中的字体,颜色,背景色进行初始设置*/
  3. ul li,ol li{list-style: none;}/*将列表的默认样式清除*/
  4. a{text-decoration: none;outline: none; blr:expression(this.onFocus=this.blur());}/*将超链接的下划线去掉以及在IE6中点击出现的虚线框去掉*/
  5. img{border:none;}/*图片的默认边框去掉 */
  6. table{border-collapse:collapse;border-spacing:0;}
  7. caption,th,td{font-weight:normal;text-align:left;}
  8. input,textarea,select,button{font-size:100%;font-family:inherit;margin:0;padding:0;}
  9. label,button{cursor:pointer}
  10. textarea{white-space:pre;resize:none;border:1px solid #ececec;}
  11. article,aside,figcaption,figure,footer,header,hgroup,nav,section,summary{ display: block;}
  12. /*清除浮动*/
  13. .clearfix:after{content:""; display:block; clear:both; height:0; line-height:0; visibility:hidden;}
  14. .clearfix{zoom:1;}/*解决ie6的兼容性问题*/
  15. .fl{float: left;}
  16. .fr{float: right;}
  17. a:hover{-webkit-tap-highlight-color: transparent;}
  18. wrapper{width:1000px; margin:0 auto;}