我有一个div.outer包装我的内容,并有一个渐变背景。我能够看到PIE.htc被加载(它位于index.html所在的根目录中),但是没有发生CSS3效果。PIE.htc - 位置是正确的,但在IE中仍然没有CSS3效果
.outer{
height: 100%;
position: relative;
z-index: 0;
background: #063A5F; /*fallback for non-CSS3 browsers*/
background: -webkit-gradient(linear, 0 0, 0 100%, from(#063A5F) to(#063A5F)); /*old webkit*/
background: -webkit-linear-gradient(top, #4189CC, #063A5F); /*newer webkit*/
background: -moz-linear-gradient(top, #4189CC, #063A5F); /*old gecko*/
background: -o-linear-gradient(top, #4189CC, #063A5F); /*opera 11.10+*/
background: linear-gradient(to bottom, #063A5F, #4189CC);
-pie-background: linear-gradient(to bottom, #063A5F, #4189CC); /*ie 6-9 via PIE*/
behavior: url(PIE.htc);
}
现在所在的位置是available here
我已经尝试了z-index的问题,但也许我做错了:)
而且是有边框圆角问题没有被应用到我的锚标签。
.btn{
border-radius: 5px 5px 5px 5px;
behavior: url(PIE.htc);
}
任何帮助,非常感谢!
我做了这个调整,很遗憾在IE中仍然没有CSS3的优点。我没有将IE开发工具中注册的地址复制并粘贴到新窗口中。这确实是正确的,因为[link](http://www.edpacheco.com/PIE.htc)在这里展示[/ link]。谢谢你的建议,辛西娅。 – Todd