我的理解是bootstrap 3.xx支持IE8。当您转到the bootstrap's navbar example page 并切换到IE的文档模式为版本8.导航栏显示为始终在移动设备或小屏幕中显示。
这是一张图片
我有一个页面,我开始开发,并发现人们建议确保使用Doctype我或使用非缩小版本的bootstrap css我尝试没有更改,然后我注意到示例页面正在做同样,所以主要的问题是 是IE 8再也不支持了吗?
答案 0 :(得分:0)
您似乎正在使用IE11?
Even in IE8 mode, IE11 doesn't respect conditional comments. 特别是,这意味着它忽略包含Bootstrap建议的HTML5元素和CSS媒体查询polyfill的条件注释:
<!-- 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]-->