今天在寫css3效果的時候,發現在IE9下css3是無效的
解決:下載PIE(下載地址:http://css3pie.com/),引用:behavior:url(PIE.htc)注意路徑應是同html文檔同一目錄下
小實例:
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
.border{width: 100px;height: 100px;border-radius: 10px;background-color: #f60;behavior:url(PIE.htc);}
</style>
</head>
<body>
<div class="border">
</div>
</body>
</html>
在IE9下的效果圖:


