除了 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——放弃了支持。
查看回退策略,印象不深 - 您将测试功能可用性。
您可以使用任何语言(JavaScript、PHP、Python 等)来检查代理并采取行动。不是最好的,但可以在绝望模式下工作。
关于html - 为 IE10 和 IE11 使用不同的样式表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21534631/