How do i adjust the size (length) of a drop down box ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The size seems to be determined by the characters you type in the drop down
list itself. I want to be able to lengthen the box regardless of the amount
of characters is this possible. The only double arrows I seem to get are to
change the height of the box - I want to adjust the length.
 
Use CSS.
example (using inline style)

<select size="1" name="myselect" style="width:250px">
<option value="1">Boo</option>
<option value="2">Coo</option>
</select>
 
Back
Top