HomeArticlesFAQsXREFGamesSoftwareInstantBooksBBSAboutFOLDOCRFCsFeedbackSearchSite-Map
logo

Q67 How can I control the width of a select box?

You are here: irt.org | FAQ | JavaScript | Form | 1 | Q67 [ previous next ]

You can increase the width by padding out an entry with multiple ' '.

Alternatively you could have a dummy entry with '-------------' characters.

James Albert also points out:

You can also set the width of a select box through CSS:
<select name="province" size="1" style="width: 50mm">
...
</select>

Feedback on 'Q67 How can I control the width of a select box?'

©2011 Martin Webb