| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Dec 2006
Location: Oklahoma City, Oklahoma -US-
Posts: 24
|
Drop-down menu position...
Okay I'm re-designing my company's web site and I'm adding some drop down menus to the main navigation. My problem is that when someone goes to the site and its not in 1024 x 768 or even the browser window is not maximized, then the drop down is out of place. Is there any way to keep a drop-down under a specific nav item no matter the resolution/size of window? |
|
|
|
|
|
#2 (permalink) |
|
Semantics, yay.
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,106
|
It appears that the dropdowns, themselves, are positioned in relation to the browser window (which explains why when the browser window changes, the position of the dropdown(s) change). What you should do is set the position of the dropdowns in relation to something that won't change; most commonly used is a 'wrapper' div of sorts, one that contains the entire document and typically has a fixed width. |
|
![]() |