0
我創建一個HTML文件中像這樣:的box-shadow並不在IE瀏覽器我的Web服務器上
<style>
td#emboss a{
background:#F9F8F3;border:1px solid #D4D2D2;display:block;width:220px;
text-decoration:none;line-height:30px;font-size:12px;color:black;padding-right:3px;text-align:center;
border-radius: 10px;
box-shadow: 0 0 10px rgba(150,150,150,.2),inset 2px 4px 10px rgba(150,150,150,.6);
}
td#emboss a:hover{
color:#18314B;width:220px;display:block;
font-weight: bold;
box-shadow: 0 0 10px rgba(10,10,10,.1),inset 2px 4px 10px rgba(10,10,10,.1);
}
</style>
<table>
<tr><td id="emboss"><a href='#'>My Link</a>
</td></tr>
</table>
當我展示這在我的系統是正確的,但是當我把它上傳我的Web服務器上在IE中,'box-shadow'不起作用,我該如何解決這個問題?
http://www.useragentman.com/blog/2011/08/24/how-to-simulate-css3-box-shadow-在-ie7-8-而不的JavaScript / – 2014-10-06 08:19:55