我想知道你们是否知道一些库可以帮助/改进 IE >= 7 对我必须修改的网站的响应。
我已经加载了 modernizr 库,但我知道有一些库可以帮助 IE 像现代浏览器一样运行。那么,您有什么建议?我有哪些选择?
我真的厌倦了花几个小时试图为 X 版本的 IE 修复一件事情。
最佳答案
我觉得没那么简单。我不知道有哪个库能让它们都表现得“正常”。我使用的一些是:
- Modernizr 可以帮助旧版浏览器中的新 html5 元素
- 用于跨浏览器 DOM 操作的 jQuery
- 用于跨浏览器主题的 jQuery UI
但是没有任何时候都可以无处不在的 Elixir 库。有时您将不得不根据浏览器功能调整 UI。这样做的一种常见方法称为 progressive enhancement .
Progressive enhancement is a strategy for web design that emphasizes accessibility, semantic HTML markup, and external stylesheet and scripting technologies. Progressive enhancement uses web technologies in a layered fashion that allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or better bandwidth.
关于javascript - Internet Explorer 现代化工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11019257/