标签:
table th { border:1px solid #CCCCCC; background-color:#FFFFFF; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); /*IE6-IE8*/ background: -ms-linear-gradient(top, #fff, #C3DAF5); /* IE 10 */ background:-moz-linear-gradient(top, #fff,#C3DAF5);/*火狐*/ background:-webkit-gradient(linear, 0% 0%, 0% 100%,from(#fff), to(#C3DAF5));/*谷歌*/ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#C3DAF5)); /* Safari 4-5, Chrome 1-9*/ background: -webkit-linear-gradient(top, #fff, #C3DAF5); /*Safari5.1 Chrome 10+*/ background: -o-linear-gradient(top, #fff, #C3DAF5); /*Opera 11.10+*/ }
这条语句的兼容性太差了吧,还要针对每种浏览器进行设定
标签:
原文地址:http://www.cnblogs.com/wonder223/p/4519065.html