您的位置:首页 > Web前端 > CSS

ie-css3.htc 支持ie,ff的透明圆角

2011-08-08 18:12 411 查看

ie-css3.htc

<html>
<head><title>测试主机Content-Type</title>
<style type="text/css">
body
{
background:#09F;
}
.test {
width:560px;
height:400px;
background-color:#FFffff;
padding:10px 8px 6px;
border: 1px solid #C0C0C0;
margin-bottom:10px;
opacity:0.5;

/*圆角*/
border-radius:13px;/*IE6*/
behavior:url(ie-css3.htc);/*IE6*/
-moz-border-radius:13px;-webkit-border-radius:13px;/*非IE6的其它*/

</style>

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


效果图:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: