css 初始化


html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0}
header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block}
table{border-collapse:collapse;border-spacing:0}caption,th{text-align:left;font-weight:normal}
html,body,fieldset,img,iframe,abbr{border:0}i,cite,em,var,address,dfn{font-style:normal}
[hidefocus],summary{outline:0}li{list-style:none}
h1,h2,h3,h4,h5,h6,small{font-size:100%}
sup,sub{font-size:83%}
pre,code,kbd,samp{font-family:inherit}
q:before,q:after{content:none}
textarea{overflow:auto;resize:none}
label,summary{cursor:default}
a,button{cursor:pointer}
a{ text-decoration:none;color: #222222;}

body {color: #222222;font-family: "Microsoft YaHei","微软雅黑",Helvetica,"黑体",Arial,Tahoma;font-size: 12px;}
.transparent_class { filter:alpha(opacity=90); -moz-opacity:0.9; -khtml-opacity: 0.9; opacity: 0.9;}
.transparent_class7 { filter:alpha(opacity=70); -moz-opacity:0.7; -khtml-opacity: 0.7; opacity: 0.7;}
html,body{ background-color:#F2F2F2}
.thumbImage img{ MAX-WIDTH: 100%!important;HEIGHT: auto!important;expression(this.width > 600 ? "600px" : this.width)!important;}
.thumbImage {MARGIN: auto;WIDTH: 300px;}
*html.thumbImage img{ expression(this.width>300&&this.width>this.height?220:auto); height:expresion(this.height>220?220:auto); }
ul, ol {padding-left: 0;list-style-type: none;}

原文地址:https://www.cnblogs.com/xy99/p/4437709.html