我有這個頁面: http://bable.co.il/static/index1.php?page=safety&id=7的z-index和位置不起作用
,當你將鼠標懸停在文章,你會得到一個滑動菜單。 這個菜單屬於它自己的文章。 我試圖修復Z索引和菜單的位置沒有成功。
這是探險家8
我張貼的鏈接,因爲我想你可以通過你的自我檢查CSS和數字到底是怎麼回事。 反正這裏是顯示了UL的CSS:
.topnav{
display: none;
position: absolute;
z-index: 10000;
border: 1px solid black;
}
這裏是元素的自帶的菜單頂部的CSS:
.ac_subitem{
width:90%;
right:6%;
position: relative;
margin-top:1px; /* animate to -200px */
/*background: transparent url(../images/tpl/bg_menu.png) repeat top left;*/
/* Fallback for web browsers that doesn't support RGBa */
background: rgb(0, 0, 0);
/* RGBa with 0.6 opacity */
background: rgba(0, 0, 0, 0.6);
/* For IE 5.5 - 7*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
/* For IE 8*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}
能任何人都可以幫忙嗎?
我似乎記得一些舊版本的IE不尊重z-index風格。如果你想要一個答案,請添加更多信息 - 什麼版本的IE?向我們展示不起作用的CSS等。 – IanGilham 2012-02-07 15:01:16