superslurpee
Programmer
- May 15, 2002
- 108
Hi,
I'm creating a nifty little navigation bar across the top of my page that produces drop-down menus. The navbar is centered so I'm finding positioning of the menus difficult. My coordinator would like less of pixels and more of ems, %, etc. Basically, the problem is that since the navbar is centered (width:90%), I can never really be sure where it is (like you could with pixels and position:absolute).
How can I get the drop down menus to line up with their 'selector' if viewed at various screen resolutions? How can I tell the drop-down menu where it should be (or where its 'selector' is) so that it always appears in the correct spot?
Any ideas would be appreciated as everything seems to be pixels, pixels, pixels, and left-aligned!
THANKS!
I'm creating a nifty little navigation bar across the top of my page that produces drop-down menus. The navbar is centered so I'm finding positioning of the menus difficult. My coordinator would like less of pixels and more of ems, %, etc. Basically, the problem is that since the navbar is centered (width:90%), I can never really be sure where it is (like you could with pixels and position:absolute).
How can I get the drop down menus to line up with their 'selector' if viewed at various screen resolutions? How can I tell the drop-down menu where it should be (or where its 'selector' is) so that it always appears in the correct spot?
Any ideas would be appreciated as everything seems to be pixels, pixels, pixels, and left-aligned!
THANKS!