css reset


新浪:

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
table{border-collapse:collapse; border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,th,var,i{font-style:normal;font-weight:normal;}
ol,ul{list-style:none;}caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
a:focus{outline-style:none;}
abbr,acronym{border:0;font-variant:normal;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%; }
textarea{resize:none}
input::-ms-clear { display: none; }
body{font:12px/1.3 'Arial','Microsoft YaHei'; _font-family:simsun; overflow-x:hidden;color:#333;}


百度:

body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}
h1,h2,h3,h4,h5,h6{font-size:100%}
address,cite,dfn,em,var{font-style:normal}
code,kbd,pre,samp{font-family:arial,courier new,courier,"\5b8b\4f53",monospace}
small{font-size:12px}
ul,ol,li{list-style:none}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-.5em}sub{bottom:-.25em}
legend{color:#000}
fieldset,img{border:0}
button,input,select,textarea{font-size:100%}
table{border-collapse:collapse;border-spacing:0}
section,header,nav,footer,article{display:block}


 http://nec.netease.com/framework/css-reset.html :

html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{ margin : 0; padding : 0; }
header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{ display : block ;}
table{ border-collapse : collapse ; border-spacing : 0; }
caption,th{ text-align : left ; font-weight : normal ;}
html,body,fieldset,img,iframe,abbr{ border : 0; }
i,cite,em,var,address,dfn{ font-style : normal ;}
[hidefocus],summary{ outline : 0; }
li{ list-style : none ;}
h1,h2,h3,h4,h5,h6, small { font-size : 100% ;}
sup,sub{ font-size : 83% ;}
pre,code,kbd,samp{ font-family :inherit;}
q:before,q:after{ content : none ;}
textarea{ overflow : auto ;resize: none ;}
label,summary{ cursor : default ;}
a,button{ cursor : pointer ;}
h1,h2,h3,h4,h5,h6,em,strong,b{ font-weight : bold ;}
del,ins,u,s,a,a:hover{ text-decoration : none ;}
body,textarea,input,button,select,keygen,legend{ font : 12px /1.14  arial ,\5b8b\4f 53; color : #333 ; outline : 0; }
body{ background : #fff ;}
a,a:hover{ color : #333 ;}


你可能感兴趣的:(css reset)