Please try and format any code in your post using the CODE tags. It just makes it easier to read.
Debugging CSS in any browser is tricky, especially in inconsistent browsers like IE6. It's easier in this case for me to just come up with something brand new. In this case, you should find it relatively easy to, say, integrate an image based CSS tabs menu such as Uber Round Tabs with this script. Here's a screenshot:

Getting to the above simply means modifying the HTML of the top level menu so each link contains an inner SPAN element (as dictated by Uber Rounds Tabs):
Code:
<div id="mytabsmenu" class="ubercolortabs">
<ul>
<li><a href="http://www.javascriptkit.com" rel="gotsubmenu[selected]"><span>JavaScript Kit</span></a></li>
<li><a href="http://www.cssdrive.com" rel="gotsubmenu"><span>CSS Drive</span></a></li>
<li><a href="http://www.codingforums.com"><span>No Sub Menu</span></a></li>
</ul>
</div>
And the CSS, basically dropping in the CSS for Uber Round Tabs:
Code:
/* ######### CSS for top level tabs ######### */
.ubercolortabs{
padding: 0;
width: 100%;
overflow: hidden;
background: transparent;
}
.ubercolortabs ul{
font: bold 11px Arial, Verdana, sans-serif;
margin: 0;
padding: 0;
list-style: none;
}
.ubercolortabs li{
display: inline;
margin: 0 2px 0 0;
padding: 0;
text-transform: uppercase;
}
.ubercolortabs a{
float: left;
color: white;
background: #804000 url(roundleft.gif) no-repeat left top; /*default background color of tabs, left corner image*/
margin: 0 2px 0 0;
padding: 0 0 1px 3px;
text-decoration: none;
letter-spacing: 1px;
}
.ubercolortabs a span{
float: left;
display: block;
background: transparent url(roundright.gif) no-repeat right top; /*right corner image*/
padding: 7px 9px 3px 6px;
cursor: pointer;
}
.ubercolortabs a span{
float: none;
}
.ubercolortabs a:hover, .ubercolortabs li a.selected{
background-color: #AE5300; /*background color of tabs onMouseover*/
color: white;
}
.ubercolortabs a:hover span{
background-color: transparent;
}
/* ######### CSS for sub menu container below ######### */
.tabsmenucontentclass{
clear: left;
background: #E8E8E8;
width: 90%;
height: 24px;
padding: 5px;
border: 1px solid silver;
}
.tabsmenucontentclass ul{
margin: 0;
padding: 0;
list-style-type: none;
}
.tabsmenucontentclass li{
float: left;
margin-right: 1em;
}
Bookmarks