...

View Full Version : drop down menu width



duggins
01-24-2004, 05:17 PM
is there a way to contrain the width of a drop down box? i don't care if once opened the contents expand.. just need the box to be a certain size for layout reasons. css?

lavalamp
01-24-2004, 07:32 PM
Yes CSS. You can just do this:




<select name="dropdown" style="width:100px;">

But once the options are displayed they will not expand so they may be cut off.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum