基础5不工作与IE8 [英] Foundation 5 is not working with IE8

查看:117
本文介绍了基础5不工作与IE8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的基础5,工作正常与所有浏览器,除IE8。我也尝试了polyfill,但仍然css问题存在于IE8。
对此有任何其他解决方案。

I am using Foundation 5 that working fine with all browser except IE8. I have also try with polyfill but still css issues exist on IE8. Any other solution for this.

推荐答案

对于某些企业来说,不能放弃对IE8的支持。

For some businesses it is not a viable option to drop support for IE8. I had to get a Foundation 5 site working in IE8 and here are the steps I took to get it working.

细分:


  1. 使用jQuery v1.x而不是v2.x

  2. 包含IE8网格支持CSS

  3. 在CSS之后在HEAD中包含垫片

    • cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js

    • s3.amazonaws.com/nwapi/nwmatcher/nwmatcher-1.2.5-min.js

    • html5base.googlecode.com/svn-history/r38/trunk /js/selectivizr-1.0.3b.js

    • cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js

    • github.com/es-shims/es5-shim - shim.js

  1. Use jQuery v1.x and not v2.x
  2. Include IE8 grid support CSS
  3. Include shims in HEAD after your CSS
    • cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js
    • s3.amazonaws.com/nwapi/nwmatcher/nwmatcher-1.2.5-min.js
    • html5base.googlecode.com/svn-history/r38/trunk/js/selectivizr-1.0.3b.js
    • cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js
    • github.com/es-shims/es5-shim - shim.js

要执行此操作,请点击以下链接:

For a more in depth look at how to do this check out the link below:

http://www.kycosoftware.com/blog/article/getting-foundation-5-to-work-in-ie8

这篇关于基础5不工作与IE8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆