`

IE css3 的behavior实现

阅读更多
.test {
    width:560px;
    height:400px;
    background-color: blue;
    padding:10px 8px 6px; 
    border: 2px solid #C0C0C0; 
    margin-bottom:10px;
    border-radius: 10px;
    behavior: url(css/ie-css3.htc);
}

behavior的路径是相对于当前页面的

<html>
<head><title>测试主机Content-Type</title>
<link rel="stylesheet" href="css/style.css"/>
<body>
	<div class="test">
		这个页面是用以测试主机是否有正确的content-type。
	</div>
</body>
</html>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics