Article Introduction: Eric Meyer and Yui) CSS Reset |
/* normalizes margin,padding * *
BODY,DIV,DL,DT,DD,UL,OL,LI,H1,H2,H3,H4,H5,H6,PRE,FORM,FIELDSET,INPUT,P,BLOCKQUOTE,TH,TD {margin:0;padding:0}
/* normalizes font-size for headers * *
H1,h2,h3,h4,h5,h6 {font-size:100%}
/* Removes List-style from lists * *
Ol,ul {List-style:none}
/* normalizes font-size and font-weight to normal * *
Address,caption,cite,code,dfn,em,strong,th,var {font-size:normal; Font-weight:normal}
/* Removes List-style from lists * *
Table {border-collapse:collapse; border-spacing:0}
/* Removes border from fieldset and IMG * *
fieldset,img {border:0}
/* left-aligns text in caption and th * *
caption,th {Text-align:left}
/* Removes quotation marks from Q * *
Q:before,q:after {content: '}
How do we actually write the code when the CSS reset it?
I personally recommend the use of (Eric Meyer and YUI) CSS Reset