Results 1 to 2 of 2

Thread: Drop Down Tabs - submenu not attached to main menu

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

    Default Drop Down Tabs - submenu not attached to main menu

    1) Script Title: Drop Down Tabs

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...roptabmenu.htm

    3) Describe problem: The script works great with the example code. However when I include one of the 5 examples within my layout, the sub-menus show up not attached to the main menu. I can't get them to display right under the main menu.

    I included the menu definition within:
    <div id="subnav">
    .....
    /div>

    and subnav is defined as follow:

    #subnav {
    background: #d6aeb5;
    color: #000;
    border-width: 1px 0;
    border-style: solid;
    border-color: #4a1a21;
    }

    Any ideas of what might be wrong? Thank you in advance for your help.
    Eric

  2. #2
    Join Date
    Dec 2007
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I got it. I was using:

    position: relative;

    It was messing things up.

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
  •