[英]Rounded corners in IE using border radius
I've made a site using this border radius code: http://code.google.com/p/curved-corner/ 我使用此边框半径代码创建了一个网站: http : //code.google.com/p/curved-corner/
I'm referencing to url(border-radius.htc) to make it work in IE but it is not. 我正在引用url(border-radius.htc)以使其在IE中工作,但事实并非如此。
Please help, thanks. 请帮忙,谢谢。
PS Here's the site so feel free to look at my css: http://portsmouth.fitfans.co.uk PS这是网站所以随时可以看看我的CSS: http : //portsmouth.fitfans.co.uk
you can try to use css3pie . 你可以尝试使用css3pie 。 It is very easy and useful.
它非常简单实用。
edit: if the curved-corner works similar to css3pie the path is relative to the HTML file being viewed, not the CSS file it is called from. 编辑:如果曲角与css3pie类似,则路径相对于正在查看的HTML文件,而不是从中调用的CSS文件。 So in your css you have to fix the path of your current
behavior:url(border-radius.htc);
所以在你的css中你必须修复当前
behavior:url(border-radius.htc);
的路径behavior:url(border-radius.htc);
to behavior:url(themes/hull/css/border-radius.htc);
behavior:url(themes/hull/css/border-radius.htc);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.