【问题标题】:window doesn't resize when scrollbar automatically added in IE11在 IE11 中自动添加滚动条时,窗口不会调整大小
【发布时间】:2016-02-14 02:06:59
【问题描述】:

我有一个角度项目,我的视图在 chrome 和 firefox 中工作正常,但在 IE 11 中,当滚动条出现时,视图不会自动调整大小,所以我有一些组件被滚动条覆盖

菜单CSS:

#menu-principal .navbar-lower {
  text-align: center;
  position: fixed;
  top: 40px;
  margin-bottom: 0;
  height: 35px;
  min-height: 35px;
  right: 0;
  left: 0;
  z-index: 1029;
}

【问题讨论】:

  • 也许这就是你要找的...stackoverflow.com/questions/17045132/…
  • 固定位置很棘手。我建议你设置 overflow-y: 滚动到 标签。
  • 感谢您的帮助,就像链接中提到的那样是@-ms-viewport{ width: auto; }

标签: css angularjs html


【解决方案1】:

通过添加解决 @-ms-viewport{ 宽度:自动; }

【讨论】:

    猜你喜欢
    • 2016-05-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-05-11
    • 1970-01-01
    • 1970-01-01
    • 2017-04-29
    • 1970-01-01
    相关资源
    最近更新 更多