css - 圆 Angular 在 IE、CSS/DIV 中不起作用

标签 css internet-explorer rounded-corners

我的 CSS 无法与 Iexplorer 一起使用,有人可以解释一下为什么这不起作用吗?

HTML

<div class="myBox"> Content  <div>

CSS:

.myBox {
    margin: 0.0in auto;
    color: #FFF;

    width: 450px;
    height:450px;
    padding: 12px;
    text-align: left;
    background-color: #444141;
    border: 0px solid #4e4b4b;

    /* Do rounding (native in Firefox and Safari) */
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}

.myBox h2 {
    color:#f57f20

}

最佳答案

IE 不支持 CSS3 圆 Angular ,我建议回退到使用 PNG 图像。

关于css - 圆 Angular 在 IE、CSS/DIV 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2317378/

相关文章:

javascript - 刷新后 jQuery 计算高度不正确

html - 如何将右填充添加到 3 个图像,同时将所有图像保持在同一行中

html - 使用 CSS 将整个图像用作网站背景并仍然迎合不同屏幕尺寸的更好方法? (比如关于我)

css - ie7 中奇怪的 css 行为

css - svg css 圆 Angular 不起作用

css - Bootstrap 破坏了生产中的行单元格

javascript - window.open 为什么有些用户的IE每次都会打开新窗口。

html - Internet Explorer 显示带有彩色边框的图像链接

internet-explorer - CSS 3 PIE : Not working inside an absolutely positioned (popup) element? 鼠标悬停时移动?

带圆角的 Android ImageView(再次)