PDA

View Full Version : Chrome drop down menu placement



suesbarn
06-21-2010, 07:31 PM
1) Script Title: Chrome CSS Drop Down Menu (v2.5)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

3) Describe problem:

How do you position the drop down menu? When I look at the drop down menu (the box that drops down with the sub-links) on a small screen, it is slightly offset from the navigation link.

But, when I look on a large monitor, the drop downs are so offset, they appear under the next link.
Here is an example:
www.flexiblepower.net

thank you

azoomer
06-21-2010, 08:05 PM
I tried to experiment a bit and found that when removing the position property in the header like this:

#header {
height:657px;
}
and changing the menu css to this

#menu {
display:inline;
left:50%;
margin-left:-250px;
position:absolute;
top:75px;
}
it solves the problem at least in my browser (FF)

suesbarn
06-22-2010, 03:52 PM
thanks, that worked!