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

时间:2018-06-07 10:27:17

标签: html5 css3 css-position internet-explorer-11 fixed

我一直在努力奋斗数小时。我有一系列与z-index相关的问题,位置:在IE11中修复。我已经尝试过-ms-device-fixed但是没什么好像解决了这个非常奇怪的问题。您可以在图像上看到部分下拉列表。

.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 个答案:

答案 0 :(得分:0)

  1. 尝试使用position: expression(fixed);
  2. 尝试在父元素上使用position: relative;,在标题上使用position: absolute;。这是跨浏览器。