I have the following code:
<div id="hidedropdown" style="position: absolute; top: 240px; left: 730px; width:94px; height:70px; z-index:5; visibility: visible;"><a href="javascript:;" onMouseOver="MM_showHideLayers('hidedropdown','','hide','dropdown','','hide')"><img src="images/transparent.gif" width="350" height="172" border="0"></a></div>
<div id="mainnav" style="width:78px; height:22px; z-index:6;"><a href="#" onMouseDown="MM_showHideLayers('hidedropdown','','show','dropdown','','show')" onMouseOver="MM_swapImage('options_hover','','images/options_h.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/options.gif" name="options_hover" width="100" height="25" border="0"></a></div>
<div id="dropdown" style="position: absolute; top: 267px; left: 750px; width:94px; height:36px; z-index:7;"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('edit','','images/menu_edit_h.gif',1)"><img src="images/menu_edit.gif" name="edit" width="100" height="25" border="0"></a></div>
Is there anyway to attach the div "dropdown" to the bottom of the div "mainnav" instead of having to specify a pixel location? Pixel locations work, but when you are running a different resolution then it is designed for, it is no longer in the right place.
Thanks in advance!