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;width:expression(this.width > 600 ? "600px" : this.width)!important;}
.thumbImage {MARGIN: auto;WIDTH: 300px;}
*html.thumbImage img{ width: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;}

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。