CSS初始化

 1 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; } 
 2 body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; } 
 3 h1, h2, h3, h4, h5, h6{ font-size:100%; } 
 4 address, cite, dfn, em, var { font-style:normal; } 
 5 code, kbd, pre, samp { font-family:couriernew, courier, monospace; } 
 6 small{ font-size:12px; } 
 7 ul, ol { list-style:none; } 
 8 a { text-decoration:none; } 
 9 a:hover { text-decoration:underline; } 
10 sup { vertical-align:text-top; } 
11 sub{ vertical-align:text-bottom; } 
12 legend { color:#000; } 
13 fieldset, img { border:0; } 
14 button, input, select, textarea { font-size:100%; } 
15 table { border-collapse:collapse; border-spacing:0; }

 

posted @ 2017-03-22 08:26  CorderBob  阅读(228)  评论(0编辑  收藏  举报