html - 为什么 border-radius 在使用 Internet Explorer 的特定网站中不起作用?

标签 html css internet-explorer

我们为 Google Chrome、Firefox、Safari 和 Internet Explorer 开发浏览器扩展。我们的扩展程序将 HTML 元素插入网站,例如 mail.google.com 和 email14.secureserver.net。

我们的 HTML 元素的 border-radius CSS 属性为 5px。在所有网站上都很好,例如 mail.google.com 和所有浏览器,但在 https://email14.secureserver.net/webmail.php?login=1 中在 Internet Explorer 中没有 border-radius,我看到这些属性是红色的:

在 mail.google.com 中:

enter image description here

在 email14.secureserver.net 中:

enter image description here

问题是什么,这个网站是否禁用了 border-radius

有没有办法定义 border-radius 也可以在这个网站上工作?我看到 Internet Explorer 9 及更高版本支持 border-radius

如何检测 email14.secureserver.net 是否使用旧模式的 Internet Explorer?是否可以在不禁用此模式的情况下定义 border-radius

我使用的是 Internet Explorer 11,但此扩展应该适用于所有版本的 Internet Explorer。

最佳答案

网站可以要求 IE 使用旧引擎来呈现它,检查检查器,它应该说明它是否使用了一些旧版本、古怪的兼容模式,诸如此类。

关于html - 为什么 border-radius 在使用 Internet Explorer 的特定网站中不起作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27799949/

相关文章:

html - ionic 头内图像的大小

linux - html 元素后面的软线和特定字母在 Linux 中显示错误

html - 当显示设置为无时,Twitter 小部件将不会填充

html - 垂直对齐文本 Bootstrap 4

javascript - onbeforeunload 消息出现两次 (Internet Explorer)

javascript - 在 Internet Explorer 中加载网页时出现 "Operation aborted"错误消息

html - 为什么在 IE 和 Firefox 上文本框名称和 id 会影响 html 中的表格边框?

javascript - JQuery UI 可排序滚动到页面底部

css - 非常长的单词不包含在 HTML/CSS 中

html - CSS - 文本溢出不适用于大文本