哪些脚本可用于修复样式错误& IE的缺点?

时间:2010-09-10 23:27:06

标签: javascript css internet-explorer css-selectors polyfills

有几个有用的JavaScripts和.htc行为可以修复漏洞和漏洞。 Internet Explorer的渲染引擎中的错误功能。似乎他们中的大多数都有一些重叠或不完整的功能支持,很难决定使用什么:

如果您还有以下内容,请添加到此列表中:这是一个社区维基。

哪些是您首选的脚本?有什么好处&限制与陷阱?

更新:这些脚本现在通常称为“Polyfills”

3 个答案:

答案 0 :(得分:2)

不是脚本,但可能值得一提的是Google Chrome Frame插件:

  

Google Chrome Frame是一款开源插件,可将Google Chrome的开放式网络技术和快速JavaScript引擎无缝地引入Internet Explorer。使用Google Chrome Frame,您可以:

     
      
  • 立即开始使用开放式网络技术(如HTML5 canvas标签),甚至是Internet Explorer 6,7或8中尚不支持的技术。

  •   
  • 利用JavaScript性能改进,使您的应用更快,响应更快。

  •   

答案 1 :(得分:1)

HTML5 Shiv:HTML5 IE启用脚本。

但基本上,这些脚本可以完成工作,但代价是性能问题等。有一些可接受的解决方法,例如using "PNG8 alpha transparency" as a replacement for PNG fix。这只是项目类型的问题。

答案 2 :(得分:-2)

我建议使用Blueprint CSS

http://www.blueprintcss.org/

引用他们的网站..

  

蓝图有什么作用?

* A CSS reset that eliminates the discrepancies across browsers.
* A solid grid that can support the most complex of layouts.
* Typography based on expert principles that predate the web.
* Form styles for great looking user interfaces.
* Print styles for making any webpage ready for paper.
* Plugins for buttons, tabs and sprites.
* Tools, editors, and templates for every step in your workflow.