[英]border radius not working on IE, what library or css hack do I use
I want to style some forms on my app in IE8 but I always have a problem with css3. 我想在IE8的应用程序中设置样式,但是css3总是有问题。 I already tried with css3pie but I'm not very satisfied.
我已经尝试过使用css3pie,但是我不太满意。 I would be very happy if there is a jQuery plugin to do that.
如果可以使用jQuery插件,我将非常高兴。 I wonder if it is possible to trick IE8 with Something like.
我想知道是否有可能用类似的东西欺骗IE8。
<meta http-equiv="X-UA-Compatible" content="IE=9" />
If someone's solved this please let me know. 如果有人解决了这个问题,请告诉我。 Thank's.
谢谢。
Check this out: Rounded Corners in Internet Explorer 检查一下: Internet Explorer中的圆角
At the bottom there are some links to different solutions. 底部有一些指向不同解决方案的链接。
Here are your options: 这是您的选择:
Some notes: 一些注意事项:
You could try this https://github.com/brandonaaron/jquery-cssHooks 您可以尝试一下https://github.com/brandonaaron/jquery-cssHooks
Haven't used it for border-radius, but other css3. 尚未将其用于边界半径,而是用于其他css3。 You would have to use borderradiusalt.js and apply it like this:
您将必须使用borderradiusalt.js并将其应用如下:
$('#myElement').css('border-radius', '3px 3px 3px 3px');
You also have to put border-radius.htc in the web root(eg where index.html is located) or the page that uses the js. 您还必须将border-radius.htc放在Web根目录(例如index.html所在的位置)或使用js的页面中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.