質問

My understanding was that bootstrap 3.xx supported IE8. When you to the bootstrap's navbar example page and switch to IE's document mode to version 8. The navigation bar displays as if it's displaying in a mobile device or small screen at all times. Here is an image NavBar collapsing on IE8

I had this problem with a page I started developing and found people suggesting making sure to use Doctype which i was or using the non-minified version of bootstrap css which i tried without changes, then i noticed the sample page was doing the same, so the main question really is is IE 8 just not supported anymore?

役に立ちましたか?

解決

Looks like you're using IE11?

Even in IE8 mode, IE11 doesn't respect conditional comments. In particular, this means that it ignores the conditional comment containing the HTML5 element and CSS media query polyfills that Bootstrap advises:

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top