View Full Version : drop down menu width

01-24-2004, 06: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?

01-24-2004, 08: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.