Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<Select> size

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
Is there a way to make a pulldown select box so that it is smaller than the standard size. I notice on some sites that it is more narrow than the standard size.

Is this a setting that is done in ASP code?

MH
 
You can make the select list smaller by reducing the font size. This is done with HTML. Here's what we use to ensure compatibility across many browsers.

<font size=&quot;1&quot;>
<select style=&quot;font-size:xx-small&quot;>
<option value=&quot;1&quot;>First Selection</option>
<option value=&quot;2&quot;>Second Selection</option>
</select>
</font>

For more questions regard HTML styles, visit the HTML / CSS Forum.

TW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top