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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Font Size and DropDown List boxes

Status
Not open for further replies.

CoderMan

Programmer
Aug 20, 2002
8
US
I need to set the size of the font in a dropdown List box but I am unable to do so.

I have tried both explicitly setting <Font Size=8> before the <Select> as well as tried a class. They both don't seem to work.

Any ideas anyone?

Tx in advance.
 
you need to put this property in a style..
<style type=&quot;text/css&quot;>
<!--
Select {font-size: 8pt;
font-family: Verdana; width: 150;}
.smallselect {width: 100;}
.bigselect {width: 400;}
-->

and call it with <select name=whatever class=.smallselect>
 
Erase the point(.) in the call:

<select name=whatever class=.smallselect>

to

<select name=whatever class=smallselect>

Erik



<-- My sport: Boomerang throwing !!
!! Many Happy Returns !! -->
 
oops.. correct

thanks for picking that up boomerang
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top