兼容IE6,IE7,IE8,friefox,chreom浏览器圆角及渐变效果

 原文:http://www.websjy.com/bbs/viewthread.php?tid=9968

<html>
<head><title>测试主机Content-Type</title>
<style type="text/css">
.test {
width:560px;
height:400px;
background-color:#FFFFFF;
padding:10px 8px 6px; 
border: 1px solid #C0C0C0; 
margin-bottom:10px;
/*圆角*/
 border-radius:3px;/*IE6*/
behavior:url(http://share.job9151.com/ie-css3.htc);/*IE6*/
-moz-border-radius:3px;-webkit-border-radius:3px;/*非IE6的其它*/

/*渐变*/
FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#b8c4cb,endColorStr=#f6f6f8);/*IE6*/
background:-moz-linear-gradient(top,#b8c4cb,#f6f6f8);/*非IE6的其它*/
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#b8c4cb), to(#f6f6f8));/*非IE6的其它*/
}
</style>

</head>
<body>
        <div class="test">
                这个页面是用以测试主机是否有正确的content-type。
        </div>
</body>
</html>


 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值