Results 1 to 2 of 2

Thread: CSS Frames and CSS Menu

  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS Frames and CSS Menu

    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....

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    assign the submenus a greater [icode]z-index[/code]

    Code:
    ul#menucontent {
         property: value;
    }
    ul#menucontent li ul.submenu {
        z-index: 10;
    }
    provided the menu follows the format
    Code:
    <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....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •