All Levels Navigational Menu subs IE6 spacing
1) Script Title: All Levels Navigation Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm
3) Describe problem: Using sidebar with subs, IE6 puts in extra space in every item that has a sub to it. Other browsers are fine. I've tried all sorts of CSS and IE6 conditional statements, but I can't seem to get this one.
I've inserted an image, but if it doesn't show up, here's a live url (must be viewed in IE6 to show the problem. People > Faculty shows it well.) http://www.somas.stonybrook.edu/
http://www.dubbahdesign.com/menu_ie6_issue.jpg
Thanks in advance.
Ugly browsers require ugly fixes ;)
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....;)