View Full Version : How to Center Chrome CSS dropdown script
alanp
03-28-2006, 06:18 AM
Is there a way to have the Chrome CSS dropdown appear 'centered' instead of to the left.
My site is 800px wide and centered...I'd like this script to appear with the rest of the page (however it is still appearing to the left).
Thank you in advance
simonf
03-28-2006, 08:20 AM
Hi.. See this thread it might help:
http://www.dynamicdrive.com/forums/showthread.php?t=8537
alanp
03-28-2006, 11:13 PM
Hi.. See this thread it might help:
http://www.dynamicdrive.com/forums/showthread.php?t=8537
Thanks simonf!
Actually I just tried something and it worked (in-case anyone is interested). I put the code into a table and centered the table....it works fine. I guess I was thinking too much into how to do this by believing I had to modify the code :)
RComet
03-29-2006, 02:43 AM
I had this in a div tag. I tried adding the align="center" but it doesn't work. Does it has to be in a table for it to be centered properly?
jscheuer1
03-29-2006, 08:03 AM
I had this in a div tag. I tried adding the align="center" but it doesn't work. Does it has to be in a table for it to be centered properly?
This menu is difficult to position as, ordinary methods often either fail to do the trick and/or create unexpected consequences either in other screen sizes/resolutions or in the behavior of the drop downs. If a table works, I'd say 'go for it'.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.