View Full Version : Dropdown HTML Control : Positioning Problem

09-14-2007, 05:48 AM
1) Script Title:
Dropdown HTML control

2) Script URL (on DD):

3) Describe problem:
Ok, I know that it is advised we don't post questions on multiple scripts due to certain interference, however, I think I have a CSS problem on my hands. My drop down menu is showing up, and working correctly, but the positioning is off. It is centering the text and putting it in the middle of the page instead of dropping down from the navigation bar. Please help!

You can see my code at www.zumatile.com

09-14-2007, 06:06 AM
Try moving the drop down DIV itself (plus the activating script call) so it's outisde any container tags other than the <body> itself, such as directly above the </body> tag:

<div id="menu_child" style="position: absolute; visibility: hidden;">
<a class="menu" href="glass.htm">Glass</a>

<a class="menu" href="metal.htm">Metal</a>
<a class="menu" href="stone.htm">Stone</a>
<a class="menu" href="medal.htm">Medallions</a>
<a class="menu" href="rails.htm">Rails</a>
<a class="menu" href="liner.htm">Liners</a>
<script type="text/javascript">
at_attach("menu_parent", "menu_child", "hover", "y", "pointer");



09-14-2007, 06:12 PM
beautiful baby, works like a charm.