【问题标题】:How to make a bootstrap website compatible to IE9 browser如何使引导网站与 IE9 浏览器兼容
【发布时间】:2015-07-23 14:35:28
【问题描述】:
我使用 bootstrap、jquery、css3 和 html5 设计了一个网站。我遇到的问题是我为该网站设计的任何设计都不适用于 IE9 浏览器,但该网站与 chrome 和 firefox 完美兼容。谁能帮我解决这个问题。
您可以查看网站 www.techieez.com/sea
提前致谢。
【问题讨论】:
标签:
javascript
jquery
html
css
twitter-bootstrap
【解决方案1】:
请试试这个。在你的 head 标签之间添加这个。
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->