gpt4 book ai didi

html - 为 IE10 和 IE11 使用不同的样式表

转载 作者:可可西里 更新时间:2023-11-01 14:49:53 24 4
gpt4 key购买 nike

除了 javascript,还有其他方法可以在 IE10 和 IE11 中为 Web 应用程序使用不同的样式表吗?

最佳答案

根据 MSDN :

Important As of Internet Explorer 10, conditional comments are no longer supported by standards mode. Use feature detection to provide effective fallback strategies for website features that aren't supported by the browser.

@yglodt 你无法将 10 和 11 区分为 10——放弃了支持。

查看回退策略,印象不深 - 您将测试功能可用性。

您可以使用任何语言(JavaScriptPHPPython 等)来检查代理并采取行动。不是最好的,但可以在绝望模式下工作。

关于html - 为 IE10 和 IE11 使用不同的样式表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21534631/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com