PDA

View Full Version : CSS Frames and CSS Menu



robway
11-08-2007, 09:09 PM
I have been using the vertical CSS menus and I would like to incorporate the vertical menus with the CSS Left and Top frames layout.

The problem I am having is the submenus appear to be behind the maincontent frame area.

Please tell me there is a simple fix to get the sub menu options to be visible?

I know they are there because changing the 'overflow:' from hidden to scroll (which puts the scroll bar on the bottom of the left frame area) I can see the scroll bar change the scroll area size when I mouse over the menu items with a second menu option, but of course there is no way to get to the scroll bar.

Also removing the div class="innertube" from that area allows me to see the left edge of the sub menu, but not even the first letter, and some of my menu items are 2 sub menus deep anyway.

Help please....

boogyman
11-08-2007, 09:30 PM
assign the submenus a greater [icode]z-index[/code]



ul#menucontent {
property: value;
}
ul#menucontent li ul.submenu {
z-index: 10;
}

provided the menu follows the format


<ul id="menuconent">
<li>menu link
<ul class="submenu">
<li>sub-men link</li>
<li>sub-men link</li>
<li>sub-men link</li>
</ul>
</li>
<li>menu link</li>
etc....