View Full Version : Select List Width?

10-19-2009, 07:26 PM
I'm using a select list and was wondering if there is anyway to control the width of the list? It seems that the list is as wide as the longest item in the list - is there any way to make the list a fixed width?


10-19-2009, 07:34 PM
<select style="width:400px">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>

Or instead of style, just create a class and make that class a width of SetNumber px.