Home  >  Q&A  >  body text

javascript - Bootstrap compatible with IE issues

bootstrap有什么好的方法兼容IE8吗,window10上的IE8模式是没有问题的,但是在window7下的IE8模式就全乱了,我用的是方式是下面的测试代码:
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
      <script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

这个问题是什么原因导致的呢,有好的解决方法吗
过去多啦不再A梦过去多啦不再A梦2704 days ago412

reply all(1)I'll reply

  • 阿神

    阿神2017-05-24 11:38:56

    The latest version of bootstrap currently does not support IE8, you may consider using version 2

    There is no problem with the IE8 mode on Windows 10, but the IE8 mode under Windows 7 is completely messed up

    For example, in IE11 of win10, you use the developer tools to set the document mode to IE8. In fact, it is not the real IE8 mode. It will still use the current kernel for rendering. Thinking of the real IE environment of lower versions, you can only install the old system. .

    reply
    0
  • Cancelreply