[英]Z-index bug with IE6.. can't seem to figure this one out
我正在通過以下網址處理這個漂亮的標題: http : //kayaskitchenbelmar.com/test/header.html
不幸的是,在IE6中,“ Print
和“ View
按鈕的下拉菜單會折疊到新的一行。
這是由於常見的z-index錯誤。 我試圖通過使父div相對於其子級具有更高的z-index和position絕對值來解決此問題,但這似乎沒有用。
可能我缺少明顯的東西?
更新資料
好吧,我認為我已將其范圍縮小為IE6相對錯誤
這些修復勢在必行:
#nav-options{
margin-left: 15px;
padding-top: 20px;
width: 232px;
height: 41px;
position: relative;
z-index: 3000;
}
.popup-nav{
clear: both;
display: none;
float: none;
position: relative;
right: 318px;
text-align: right;
top: 15px;
z-index: 1000;
}
但是似乎在這種情況下IE6無法識別relative
。 而且我不能使用'absolute',因為它不允許div與調用它的父ul
有關。
有任何想法嗎?
我添加了這些,這是金黃色的:
* html #nav-options {overflow: hidden;}
* html .popup-nav {right: 20px;}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.