Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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>

©2018 Martin Webb