我的下拉菜單顯示在IE6中有問題。它似乎在IE7和8做工精細任何幫助,將不勝感激IE6下拉問題
這裏是一個預覽鏈接: http://arrowheadproducts.net.c1.previewmysite.com/2010Nov/index.aspx
這裏是HTML:
<div id="nav">
<div id='leftheader_top'><img src='images/logo2.jpg' /></div>
<div id="top_nav01"><a id="nav01" href="index.aspx"></a></div>
<div id="top_nav02">
<div class='list'>
<ul>
<li><a id="nav02" href="products.aspx"></a>
<ul>
<li><a border='0' id="drop_01" href="metalsystemsandproducts.aspx"></a></li>
<li><a border='0' id="drop_02" href="compositesystemsandcomponents.aspx"> </a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="top_nav03">
<div class='list'>
<ul>
<li><a id="nav03" href="services.aspx"></a>
<ul>
<li><a border='0' id="drop_02_01" href="engineering.aspx"></a></li>
<li><a border='0' id="drop_02_02" href="testing.aspx"></a></li>
<li><a border='0' id="drop_02_03" href="manufacturing.aspx"></a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="top_nav04">
<div class='list'>
<ul>
<li><a id="nav04" href="support.aspx"></a>
<ul>
<li><a border='0' id="drop_03_01" href="warranty.aspx"></a></li>
<li><a border='0' id="drop_03_02" href="quality.aspx"></a></li>
<li><a border='0' id="drop_03_03" href="aftermarketdistribution.aspx"></a></li>
<li><a border='0' id="drop_03_04" href="supplychainmanagement.aspx"></a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="top_nav05">
<div class='list'>
<ul>
<li><a id="nav05" href="company.aspx"></a>
<ul>
<li><a border='0' id="drop_04_01" href="history.aspx"></a></li>
<li><a border='0' id="drop_04_02" href="contacts.aspx"></a></li>
<li><a border='0' id="drop_04_03" href="sitemap.aspx"></a></li>
<li><a border='0' id="drop_04_04" href="legal.aspx"></a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
CSS:
.list ul {
margin: 0;
padding: 0;
float: left;
}
.list ul li{
list-style: none;
}
.list ul ul {
position: absolute;
list-style: none;
z-index: 500;
}
.list ul ul a {
text-decoration: none;
}
.list ul ul li a:hover {
text-decoration: none;
display: block;
}
.list ul ul li {
}
.list ul ul li:hover {
text-decoration: none;
display: block;
}
div.list ul ul {
display: none;
}
div.list ul ul,
div.list ul li:hover ul ul,
div.list ul ul li:hover ul ul
{display: none;position:relative;}
div.list ul li:hover ul,
div.list ul ul li:hover ul,
div.list ul ul ul li:hover ul
{display: block;position:relative;}
div.list img {
vertical-align: middle;
overflow: hidden;
width: 16px;
height: 16px;
margin: 0 8px 0 0;
}
+1「僅僅是不支持IE6」 - 這是我們做出的選擇。 – 2011-02-09 22:32:32