javascript - 使用 Browser Profile Enterprise 设置时 IE11 的 Twitter Bootstrap 问题

标签 javascript css html twitter-bootstrap internet-explorer

我遇到了使用 Bootstrap 3 构建的网页的问题。公司的 IE 配置为在某些机器上以企业配置文件模式加载 Intranet 页面。对于其他用户,IE11 中设置的默认配置文件是 Desktop。

enter image description here

使用此配置,布局完全中断。

但是当我更改为桌面等其他配置文件时,如果任何一种文档模式(Edge、IE10、9、8 和 7),网页都可以正常工作。

我还使用条件样式控制来修复一些布局问题,并且 IE 8 polyfills 也响应和 html5shiv 库。

enter image description here

enter image description here

enter image description here

有一种方法可以使用 html5、js 或 CSS3 检测 IE11 是否在企业配置文件中?用户代理 IE 如何在此配置文件中模拟?

有人发现现代 HTML5/Bootstrap 网站内部网或企业模式下的 IE11 存在布局问题?

我猜在我的公司不可能关闭此模式。

感谢您的帮助。

最佳答案

.right:{<style><div></div></style>} (是/否)。

.Right{color: #fffff ; background: #dvsdsadga; } (是/否)。

<button>Share public yes/no touch this button</button>

关于javascript - 使用 Browser Profile Enterprise 设置时 IE11 的 Twitter Bootstrap 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31171822/

相关文章:

javascript - Angularjs 4 - 需要刷新显示/隐藏指令

html - Edge 和 IE 中的背景调整大小

html - 本地 CSS 样式表未链接

html - 文本框中间的光标?

html - 三个按钮的宽度不添加 100% 百分比

javascript - 需要帮助使用 php 删除 xml 中的子项

javascript - D3 多个饼图标签

javascript - JavaScript 中的 SQL.js

css - 当函数被注释掉时,SCSS 不会编译 - CompileSass

javascript - Bootstrap 4 卡片图像缩放