IE9 - 打印时CSS失败

时间:2014-05-13 14:57:39

标签: html css html5 twitter-bootstrap internet-explorer-9

我在EI9中打印时遇到问题。似乎css失败了,但它在IE10,IE11,Firefox和Chrome中运行良好。

关于这个浏览器,我读到了关于bootstrap(是的,我正在使用它)和html5问题,但我无法找到适用于我的解决方案。

这是我迄今为止尝试过的最重要的事情:

<!--[if lt IE 9]>
<script src="html5shiv/dist/html5shiv.js"></script>
<script src="dest/respond.min.js" type="text/javascript"></script>
<![endif]-->

谢谢!

1 个答案:

答案 0 :(得分:2)

这可能会有所帮助。 Printing Twitter Bootstrap correctly

该网站对html和js浏览器黑客进行了非常详细的探索。 http://browserhacks.com

您也可以尝试强制IE模式。喜欢把它设置为边缘。 IE Compatibility Mode: 'X-UA-Compatible' tag 'Edge'

这是一个很长的镜头.. http://support.microsoft.com/kb/973479