【问题标题】:Internet Explorer Not Displaying Correctly With Bootstrap On IBM Websphere在 IBM Websphere 上使用 Bootstrap 无法正确显示 Internet Explorer
【发布时间】:2014-03-06 13:39:03
【问题描述】:
我遇到了一个问题,即使用引导程序构建的网站在 Internet Explorer 中显示不正确,而只是部署到了 IBM Websphere。在本地 Apache Tomcat 服务器上显示网站时,它工作正常。但是当部署到 IBM Websphere 时,该站点显示为移动版本。有谁知道这是为什么?
提前致谢。
【问题讨论】:
标签:
java
css
internet-explorer
twitter-bootstrap
websphere
【解决方案1】:
发现 Internet Explorer 在进入生产环境而不是本地环境时会不断切换到 Quirks 模式……不知道为什么。
但是将以下meta 标签添加到head 解决了这个问题
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">