简体   繁体   English

IE8中的圆角?

[英]Rounded Corners in IE8?

I'm having a bit of difficulty getting rounded corners to work in internet explorer 8. I've been trying to use a jQuery plugin to make it work, but there is an issue. 在Internet Explorer 8中工作时,遇到一些困难。我一直在尝试使用jQuery插件使其工作,但是有一个问题。 This plugin only works if the div has a background color. 仅当div具有背景颜色时,此插件才有效。 What I'm trying to do is give rounded corners to a div that is a white square with a blue border. 我想做的是给div圆角,它是一个带有蓝色边框的白色正方形。 I want the blue border to be rounded, similar to the way border-radius works. 我希望将蓝色边框修圆,类似于border-radius工作方式。 If anyone has any suggestions on making this work, please let me know. 如果有人对这项工作有任何建议,请告诉我。 Thanks! 谢谢!

You can use CSS3 PIE for this. 您可以为此使用CSS3 PIE

PIE makes Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features. PIE使Internet Explorer 6-9能够呈现几种最有用的CSS3装饰功能。

Border radius is not supported by Internet Explorer 8 - as per http://caniuse.com/#search=border-radius Internet Explorer 8不支持边界半径-按照http://caniuse.com/#search=border-radius

You can download a polyfill such as CSS3PIE which will allow you to use CSS3 on older browsers you can see a border-radius demo here 您可以下载诸如CSS3PIE的polyfill ,它将允许您在较旧的浏览器上使用CSS3,您可以在此处看到border-radius演示

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

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