How do I change the font size of the text in a selection box in HTML?
Printable View
How do I change the font size of the text in a selection box in HTML?
You have to use CSS:
Code:<style type="text/css">
select {
font-family: verdana, Arial, san-serif;
font-size: 10px;
}
</style>
.
.
.
<select name="options" size="1">
<option value="1">Value 1</option>
<option value="2">Value 2</option>
<option value="3">Value 3</option>
<option value="4">Value 4</option>
</select>