View Full Version : Drop Down Tabs - submenu not attached to main menu

12-19-2007, 10:01 PM
1) Script Title: Drop Down Tabs

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/droptabmenu.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">

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.

12-19-2007, 10:19 PM
I got it. I was using:

position: relative;

It was messing things up.