代码之家  ›  专栏  ›  技术社区  ›  Lowtrux

IE11位置固定下拉菜单的问题

  •  0
  • Lowtrux  · 技术社区  · 8 年前

    我已经为此挣扎了几个小时。我有一系列与z指数有关的问题,位置:在IE11中修复。我已经试过了——ms设备已经修复,但似乎没有任何东西能解决这个非常奇怪的问题。下拉列表的一部分不像您在图像上看到的那样可见。

    .ms-webpart-zone.ms-fullWidth .ms-webpartzone-cell {
     display: block;
     overflow-x: auto;
     overflow-y: visible;
     min-height: 220px;
     position: relative;
     z-index: 10;
    }
    

    下拉式CSS:

    position:-ms-device-fixed!important;
    z-index:20;
    top: 10px;
    position: fixed;
    visibility: visible;
    left: 88px;
    width: 226px;
    

    enter image description here enter image description here

    1 回复  |  直到 8 年前
        1
  •  0
  •   Nisarg Atul Waghmare    8 年前
    1. 尝试使用 position: expression(fixed);
    2. 尝试使用 position: relative; 关于父元素和 position: absolute; 在你的标题上。这是跨浏览器。
    推荐文章