PDA

Click to See Complete Forum and Search --> : HTML - Drop down width?


Daniel McCool
Jul 15th, 2003, 08:13 AM
Right now, I added spaces in my drop down text to make each drop down control line up, but this doesn't get them perfectly aligned (especially in netscape). I would like to be able to set the width of these drop downs. Can you use classes or something or CSS ? If so, please help.

mendhak
Jul 15th, 2003, 10:06 AM
<select style="width:300;">
<option>Mendhak Rules</option>
<option>Daniel is not cool</option>
</select>

The Hobo
Jul 16th, 2003, 12:49 PM
It's always good to specify the units, ie: 300px