css - 在 IE9 中 overflow-y hidden 移除所有滚动条

标签 css internet-explorer-9 overflow

是否有任何已知原因 overflow-y: hidden 会删除 IE9 中的所有滚动条?

我把它放在一个 IE9 专用样式表中,如下所示:

body,html {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

最佳答案

我是个天才,调换了我的 x 和 y。对于看到这一点的 future 开发人员。睡吧,这真的很有帮助。

关于css - 在 IE9 中 overflow-y hidden 移除所有滚动条,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15818337/

相关文章:

c# - 如何处理 GetHashCode() 中的溢出

javascript - 在 youtube 中获取视频大小

css - CSS 中指定的 Arial 中断了 IE9 中的站点

internet-explorer - 如何强制 IE9 在 IE9 文档模式下呈现?

javascript - IE9错误: Object doesn't support property or method 'setAttribute'

css - ExtJS:删除 Firefox 中不必要的表单项滚动条

css - Firefox 意外换行使用 float 和溢出隐藏

html - 为什么这个导航栏不会显示在其他所有内容之上?

css - Angular Material2 - 以编程方式设置颜色

javascript - 如何设置 bxslider 图像 slider 的样式?