I have a site with a horizontal menu that is coded as: (more or less)
<div id="container">
<div id="header">
<div id="logo">logo image</div>
<div id="main-menu">(menu script)</div>
</div>
<div id="header-bar"></div>
<div id="content">content goes here</div>
</div>
Below the menu, there's a div that stretches across the whole page, which creates a line below the entire header, including the menu. I want the first set of submenus to appear just below this line. Is there a way to specify that the first level of submenus (below the horizontal main menu bar) is to appear a certain number of pixels below the main menu bar?
Thanks!
-JP
Horiz menu - need submenu to appear 5px below bottom
Re: Horiz menu - need submenu to appear 5px below bottom
Hi,
Yes, you can do it using the top='offset=x'; in each submenu of the horizontal menu, where x is the number of pixels you need the submenus to move down.
Ruth
Yes, you can do it using the top='offset=x'; in each submenu of the horizontal menu, where x is the number of pixels you need the submenus to move down.
Ruth
Re: Horiz menu - need submenu to appear 5px below bottom
Is there a way to do it relative to the main menu? When I specify top='offset=5'; it makes my submenus show up 5 px from the top of the entire site, not 5 px from the top of the menu bar.
Re: Horiz menu - need submenu to appear 5px below bottom
Hi,
Can you give me a link please so I can see what's up?
Ruth
Can you give me a link please so I can see what's up?
Ruth
Re: Horiz menu - need submenu to appear 5px below bottom
http://beta.dwjh.org
I got it working with the top='offset=x'; parameter, but I wish there were a way to do it relative to the main menu.
I got it working with the top='offset=x'; parameter, but I wish there were a way to do it relative to the main menu.
Re: Horiz menu - need submenu to appear 5px below bottom
Hi,
You can't use top= when you are trying to do a sub menu offset from a horizontal parent menu. Try using
instead of top=81
Ruth
You can't use top= when you are trying to do a sub menu offset from a horizontal parent menu. Try using
Code: Select all
top='offset=3px';
Ruth