Why to reset CSS styles at development time:
The initial standards of each browser are different, so to be compatible with the initial browser CSS style, the current more practical global initialization of CSS is:
Eric Meyer reset css and YUI reset CSS
I use: Eric Meyer Reset CSS
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, Font, 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 {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
Vertical-align:baseline;
Background:transparent;
}
Body {
Line-height:1;
}
OL, UL {
List-style:none;
}
BLOCKQUOTE, Q {
Quotes:none;
}
Blockquote:before, Blockquote:after,
Q:before, Q:after {
Content: ";
Content:none;
}
/* Remember to define focus styles! */
: Focus {
outline:0;
}
/* Remember to highlight inserts somehow! */
INS {
Text-decoration:none;
}
del {
Text-decoration:line-through;
}
/* Tables still need ' cellspacing= "0" ' in the markup * *
Table {
Border-collapse:collapse;
border-spacing:0;
}
CSS Reset Code