dekkyb
asked on
Drop-down List Box Width
I have a web page that has drop-down list boxes. Their width auto-sets depending on the width of the data in the list. How do I manually set the list box to a certain width rather than letting the box auto-set its own width?
right click the box, and choose Form Field Properties, then specify the width. I think the standard is 20.
ASKER
If you right click the box and choose Form Field Properties, there is no option to specify the width. There is height, tab order, and name.
ASKER
Adjusted points to 300
The only way I've found too do this is to add spaces after the first menu item until it is the desired width. It's kinda' sloppy, but it works.
Example:
<p><select size="1" name="D1">
<option>
Choice One   ; &nb sp; & nbsp;  ; &nb sp; & nbsp;  ; &nb sp;
</option>
<option>Choice Two</option>
<option>Choice Three</option>
</select></p>
Example:
<p><select size="1" name="D1">
<option>
Choice One  
</option>
<option>Choice Two</option>
<option>Choice Three</option>
</select></p>
Didn't paste right :(
here:
<p>
<select size="1" name="D1">
<option>
Choice One   ;
</option>
<option>Choice Two</option>
<option>Choice Three</option>
</select>
</p>
here:
<p>
<select size="1" name="D1">
<option>
Choice One  
</option>
<option>Choice Two</option>
<option>Choice Three</option>
</select>
</p>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I had talked to a number of individuals that have experience with web page design and implementation and none of them knew how to do this. It works perfectly.
Thanks very much!!
Thanks very much!!