CSS3 圆 Angular 在 IE 怪癖模式下不起作用

标签 css internet-explorer

我有一个网站,在 IE 10 作为浏览器模式和 IE5 怪癖作为文档模式下完美运行。但是圆 Angular 在这种情况下不起作用。当我将文档模式更改为 IE 9 标准时,圆 Angular 起作用了。但我希望 IE 5 怪癖作为文档模式。

我的 CSS 是:

.roundedcorner
{
    behavior: url(/Includes/border-radius.htc);
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    -khtml-border-radius: 30px;
    border-radius: 30px;
    border-top-left-radius:30px;
    border-top-right-radius:30px;
    border-bottom-left-radius:30px;
    border-bottom-right-radius:30px;
}

最佳答案

Quirks 模式不支持 CSS3,CSS 行为为 disabled in IE10 .您可以将 header 设置为 IE=edge 并忘记 Quirks 模式。

<meta http-equiv="X-UA-Compatible" content="IE=edge">

http://border-radius.com/ .

-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;

关于CSS3 圆 Angular 在 IE 怪癖模式下不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18442436/

相关文章:

Css - 如何在文本框外添加图像(在左侧但触摸框)

html - 寻找 CSS 来替换文本或定位动态 DIV/Class id 的方法

html - Clearfix 无法在右侧显示配置文件

html - CSS 水平菜单 - 为什么仅在 IE 中有 1px 的边框/空间?

html - 网站在 Firefox 中速度快,在 Internet Explorer 中一般,在 Google Chrome 中速度慢

css - 使用 mix-blend-mode 的动画文本填充

css - 自定义字体打破插入符在 Bootstrap 导航栏中的位置

激活设计模式时,C# WebBrowser 控件中的 Javascript 不执行

javascript - 使用 JavaScript 控制 "Confirm Navigation"窗口的位置

javascript - 在按钮提交上显示加载面板的问题