Font Size In Pull Down Menus - CSS
To change the font size of a basic text input field I'm using a CSS feature :
style="font-size: 8pt"
Now, when I try to use this style on a pull down menu using the select tag it doesn't change the font size.
So, if anyone could tell me or help me to shrink the font size and essentially shrink the menu itself, I'd be grateful
Sordid
sordid posted this at 21:22 — 20th December 2000.
They have: 13 posts
Joined: May 1999
got it:)
for those interested :
define a class :
.small {font-size: 8pt;}
then specify this class in the table tag containing the pull down menu.
Neato
Mark Hensler posted this at 07:28 — 23rd December 2000.
He has: 4,048 posts
Joined: Aug 2000
hope this helps, I took it from a script I wrote a while ago
<head>
.box1 { color: 0000bb; border-width: 2; border-color: 0060f3; border-style: solid; }
.box2 { color: 000088; border-width: 2; border-color: 0000ff; border-style: solid; font-size: 8pt; font-family: verdana; font-weight: bold; }
</head>
<!-- misc code -->
<select name=AllowView style="background: 00ffff" class=box1>
<option value="yes">Yes</option>
<option value="no>No</option>
</select>
Good Luck,
Mark Hensler
If there is no answer on Google, then there is no question.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.