css初始化

body,div,p,table,tr,th,td,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,select,button,textarea,blockquote { margin:0; padding:0;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;margin:0; padding:0;}
body { font-family:"Microsoft YaHei"; font-size:14px; color:#333; line-height:150%;}
a { color:#333; text-decoration:none;outline:none;}
li { list-style:none;}
img,input { border:0px;vertical-align:middle}
table { border-collapse:collapse;}
.clear {clear:both;}
.clear:after{content:".";display:block;height:0;clear:both;visibility:hidden}
.ellipsis{text-overflow:ellipsis; overflow:hidden; white-space:nowrap;}
.fl {float:left;}
.fr { float:right;}
.f12 {font-size:12px;}
.color6 { color:#666}
.color9 { color:#999}
.center {text-align:center;}

.wrap1000 {width:1000px; margin:0 auto;}

猜你喜欢

转载自www.cnblogs.com/hellofangfang/p/9087089.html