blueman378 Posted November 17, 2009 Share Posted November 17, 2009 Hi guys. Well basically i have a menu, its setup as <div id="menu"> <a class="menu_item" href="#">HOME</a> <span class="sep"> <a class="menu_item" href="#">About Us</a> <span class="sep"> <a class="menu_item" href="#">My Sites</a> <a class="dropdown_caller" href="#">^</a> <span class="sep"> </div> i also have another div <div class="dropdown"> all that contains is a simple dropdown. anyway when the page is loaded the dropdown div is set to display: none; and i know to add the onclick event to the dropdown_caller link but what i need to know is, how can i position the div so it lines up below the calling dropdown_caller this is a dynamic site so i cant be sure of the pixel position of the caller. Link to comment https://forums.phpfreaks.com/topic/181871-make-div-appear-ajacent-to-calling-div/ Share on other sites More sharing options...
JustLikeIcarus Posted November 17, 2009 Share Posted November 17, 2009 This is easiest to do with lists and css. take a look at http://css.maxdesign.com.au/listamatic2/horizontal04.htm Link to comment https://forums.phpfreaks.com/topic/181871-make-div-appear-ajacent-to-calling-div/#findComment-959398 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.