CSS style Reset
Method One: Not recommended to use, so write will make the page parsing speed slow .
*{
margin:0;
padding:0;
}
Method Two: We commonly used the wording, more popular.
Body, HTML, div, BLOCKQUOTE, IMG, label, p, H1, H2, H3, H4, H5, H6, PRE, UL, OL,
Li, DL, DT, DD, form, a, fieldset, input, TH, TD
{margin:0; padding:0; border:0; outline:none;}
body{line-height:1;font-size:88%/* Decide for yourself if your want to include this. */;}
H1, H2, H3, H4, H5, h6{font-size:100%;p adding:. 6em 0;margin:0 15px;}
UL, Ol{list-style:none;}
A{color:black;text-decoration:none;}
A:hover
{text-decoration:underline;}
. floatleft{float:left;padding:. 5em. 5em. 5em 0;}
. floatright{float:right;padding:. 5em 0.5em. 5em;
Method Three: The third method is recommended to keep the elements of the browser display consistent, only for elements that require a uniform style .
Normalize.css
<link rel= "stylesheet" type= "Text/css" href= "http://www.yyyweb.com/demo/inner-show/normalize.html" >
CSS Flattening Blog Learning Summary (ii) CSS style reset