I created this CSS class for IE6 and I apply it to all of the LI's that follow a LI that is a parent.
Here is the class for ddlevelsmenu-base.css....
Code:
* html .ddsubmenustyle li.followsParent
{
margin-top:-3px; /*the amount of spacing that IE6 throws in there */
}
Here is a sample of the usage...
Code:
<ul id="ddsubmenu1" class="ddsubmenustyle">
<li><a href="#">Item 1a</a></li>
<li><a href="#">Item 2a</a></li>
<li><a href="#">Item Folder 3a</a>
<ul>
<li><a href="#">Sub Item 3.1a</a></li>
<li><a href="#">Sub Item 3.2a</a></li>
<li><a href="#">Sub Item 3.3a</a></li>
<li><a href="#">Sub Item 3.4a</a></li>
</ul>
</li>
<li class="followsParent"><a href="#">Item 4a</a></li>
<li><a href="#">Item Folder 5a</a>
<ul>
<li><a href="#">Sub Item 5.1a</a></li>
<li><a href="#">Item Folder 5.2a</a>
<ul>
<li><a href="#">Sub Item 5.2.1a</a></li>
<li><a href="#">Sub Item 5.2.2a</a></li>
<li><a href="#">Sub Item 5.2.3a</a></li>
<li><a href="#">Sub Item 5.2.4a</a></li>
</ul>
</li>
</ul>
</li>
<li class="followsParent"><a href="#">Item 6a</a></li>
</ul>
Not the best solution, but one that worked for me as none of the previously mentioned solutions worked in my scenario. I hope this helps someone.
IE6 is the new NN4...it's the Windows ME of browsers...need I go on....
Bookmarks