CSS Initialization Sample code/*CSS Reset www.admin10000.com*/Body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p, BLOCKQUOTE,TH,TD{margin:0;padding:0; }Body{background:#fff;Color:#555;font-size:14px;font-family:Verdana, Arial, Helvetica, Sans-serif; }td,th,caption{font-size:14px; }H1, H2, H3, H4, H5, H6{Font-weight:Normal;font-size:100%; }address, caption, cite, code, DFN, EM, strong, Th, var{Font-style:Normal;Font-weight:Normal;}a{Color:#555;text-decoration:None; }a:hover{text-decoration:Underline; }img{Border:None; }Ol,ul,li{List-style:None; }input, textarea, select, Button{Font:14px Verdana,helvetica,arial,sans-serif; }Table{Border-collapse:collapse; }HTML{overflow-y:Scroll;}/*CSS Common*/. Clearfix:after{content: ".";Display:Block;Height:0;Clear:both;Visibility:Hidden;}. Clearfix{*zoom:1; }
Ii. the second type of
/*Eric Meyer ' s Reset CSS v2.0-http://cssreset.com*/Html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite , Code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li, Fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure, Figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{Border:0;font-size:100%;Font:Inherit;vertical-align:Baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{Display:Block}Body{Line-height:1}Ol,ul{List-style:None}Blockquote,q{Quotes:None}Blockquote:before,blockquote:after,q:before,q:after{content:None}Table{Border-collapse:collapse;border-spacing:0}
Three
/** * Eric Meyer ' s Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com*/html, body, Div, span, applet, object, IFRAME,H1, H2, H3, H4, H5, H6, p, blockquote, PRE,A, ABBR, acronym, address, BI G, cite, Code,del, DFN, EM, img, INS, KBD, Q, S, Samp,small, Strike, strong, sub, SUP, TT, VAR,B, u, I, CENTER,DL, DT, DD, OL, UL, Li,fieldset, form, label, Legend,table, Caption, Tbody, TFOOT, THEAD, tr, TH, td,article, aside, canvas, details, Embed, figure, figcaption, footer, Header, Hgroup, menu, nav, output, Ruby, section, Summary,time, mark, audio, video {margin:0;padding:0;Border:0;font-size:100%;Font:Inherit;vertical-align:Baseline;}/*HTML5 display-role reset for older browsers*/article, aside, details, figcaption, figure, Footer, Header, Hgroup, menu, nav, section{Display:Block;}Body{Line-height:1;}OL, UL{List-style:None;}blockquote, Q{Quotes:None;}Blockquote:before, Blockquote:after,q:before, Q:after{content:"';content:None;}Table{Border-collapse:collapse;border-spacing:0;}
CSS Initialization Sample Code