简体   繁体   English

PIE.htc圆角在IE8中不起作用

[英]PIE.htc rounded corners are not working in IE8

My code is here 我的代码在这里

http://jsfiddle.net/parag1111/s5RLb/ http://jsfiddle.net/parag1111/s5RLb/

PIE.htc is in CSS folder. PIE.htc在CSS文件夹中。 I've also added JS of PIE and also added behaviour of PIE.htc. 我还添加了PIE的JS,并添加了PIE.htc的行为。 Let me know what else can i do to make it work in IE8 and IE7. 让我知道我还能做些什么才能让它在IE8和IE7中运行。

I've used http://css3pie.com/ 我用过http://css3pie.com/

得到答案,我需要填写PIE.htc的完整URL,如果它在本地我们需要给D:/project/PIE.htc ..

It could be a server configuration issue. 它可能是服务器配置问题。 Bundled in the PIE zip folder there is a PIE.php file, which is designed in the case that: 捆绑在PIE zip文件夹中的是一个PIE.php文件,其设计如下:

the web server is not configured to serve .htc files with the text/x-component
content-type, and cannot easily be configured to do so (as is the case with some
shared hosting providers)

Try uploading PIE.php to your server and then changing 尝试将PIE.php上传到您的服务器然后更改

behavior: url(PIE.htc);

to

behavior: url(PIE.php);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM