CSS - border-radius在IE6 / 7/8中不显示 [英] CSS - border-radius doesn't display in IE6/7/8

查看:147
本文介绍了CSS - border-radius在IE6 / 7/8中不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下CSS在我的DIV上实现圆角边框:

I'm using the following CSS to achieve a rounded border on my DIV:

border: 1px solid #999; 
border-radius: 6px; 
-ms-border-radius: 6px; 
-moz-border-radius: 6px; 
-webkit-border-radius: 6px;

但在IE 6/7/8中,即使我包含IE特定的半径,

But in IE 6/7/8, even though I'm including the IE specific radius, it is not displaying a rounded DIV border (it's displays a square border).

任何想法为什么只有IE 6/7/8不显示圆角边框?

Any ideas why only IE 6/7/8 doesn't display a rounded border?

推荐答案

自IE8起,IE不支持CSS3 border-radius属性。不知道你看到的说,它做了。您可以使用图片,javascript或许多其他技巧在IE中圆角。

As of IE8, IE doesn't support the CSS3 border-radius property. Not sure what you saw that said it did. You can use images, javascript, or many other tricks to round corners in IE.

这篇关于CSS - border-radius在IE6 / 7/8中不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆