我通过破解 HTML 中的条件覆盖样式以不同方式解决了这个问题。
我已经在引导样式表下方有一个 IE8 解决方法部分,因此我为问题图像添加了重置:
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<!-- HTML5 Shim and Respond.js 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>
<style type="text/css">
img, img.img-responsive {
width:auto;
height:auto;
max-width: none;
}
</style>
<![endif]-->
<style type="text/css">