下面是现在工作中常用到的一些标签,有些没用到的就没有重置了。
/* css reset*/
body,ul,ol,li,dl,dt,dd,form,input,textarea,p,table,tr,td{margin:0;padding:0;}
body{font:12px/1.5 ‘Microsoft YaHei’,Arial;}
ol,ul{list-style:none;}
input,textarea,select{font:12px/1.5 ‘Microsoft YaHei’,Arial;resize:none;}
a{text-decoration:none;outline:none;blr:expression(this.onFocus=this.blur());}
img{border:none;vertical-align:middle;}
.clear:before,.clear:after{content:””;display:table;}
.clear:after{clear:both;}
.clear{zoom:1;}
/* public css */
.ma{margin:auto;}
.fl{float:left;}
.fr{float:right;}
.tc{text-align:center;}
.tl{text-align:left;}
.tr{text-align:right;}
.pr{position:relative;}
.pa{position:absolute;}
.f12{font-size:12px;}
.f14{font-size:14px;}
.f16{font-size:16px;}
.fc3{color:#333;}
.red{clor:#f00;}
.blue{color:#060;}
.fbd{font-weight:bold;}
.m5{margin:5px;}
.m10{margin:10px;}
.m20{margin:20px;}
.p5{padding:5px;}
.p10{padding:10px;}
.p20{padding:20px;}