IE8圆角问题
我在 IE8 中遇到了圆角的奇怪问题。使用了 .htc 文件,http://wpdev.net78.net/ 在 IE8 中看起来不错,但是有一个两个角有问题 - 第一个在测试链接下,第二个在底部。我对其他元素应用了相同的规则,但是这个元素不想合作......有什么想法吗?
I've encountered odd problems with rounded corners in IE8. .htc file was used and http://wpdev.net78.net/ looks OK in IE8, however there's a problem with 2 of the corners - 1st is under TEST link and second at the bottom. I've applied the same rules as to the other elements, however this one don't wants to cooperate... Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该切换到 PIE.htc(请参阅 http://css3pie.com/)。它是您正在使用的旧 HTMLRemix HTC 文件的更新和改进的替代品。它使用相同的基本技术,但具有更多功能和更好的性能。另外,它正在积极开发中,如果出现问题,作者会非常积极地处理它们。
CSS3Pie 有一个非常好的改变,它将解决您遇到的问题。
如果您仍然遇到问题,那么在处理 IE 时会遇到一些常见问题。最大的一个是在 IE 元素中需要触发“addLayout”标志才能使这些 HTC 程序正常工作。这是 IE 特有的故障;尝试向受影响的元素添加
position:relative;
或zoom:1;
样式,看看是否有帮助。 CSS3Pie 站点有一个“常见问题”页面,其中更详细地讨论了这些要点;为什么会发生以及如何处理它们。希望有帮助。 :)
You should switch to PIE.htc (see http://css3pie.com/). It's a newer and much improved alternative to the old HTMLRemix HTC file you're using. It uses the same basic technologies, but more features and better performance. Plus it's under active development, and if there are issues with it, the author is very responsive about dealing with them.
There's a very good change that CSS3Pie will resolve the problems you're having.
If you do still have problems, there are some common issues when dealing with IE with this sort of thing. The biggest one is that in IE elements need to have the "addLayout" flag triggered in order for these HTC programs to work properly. This is an IE-specific glitch; try adding
position:relative;
orzoom:1;
styles to the affected elements, and see if that helps. The CSS3Pie site has a 'common issues' page which discusses these points in more detail; why the happen and how to deal with them.Hope that helps. :)