Guys:
The following code worked for me!
<form>
<input style="font-size: 8px;" type="text">
<select style="font-size: 8px;">
<option>hello </option>
<option>hello 2 </option>
</select>
</form>
Cheers!
--
Flávio de Souza
flaviostz@y...
ICQ: 78458203
Subject: Re: Text formatting in forms
From: webmaster@a...
Date: Tue, 18 Jun 2002 13:25:18 +0200 (CEST)
X-Message-Number: 3
Aanhalen John Coutts <contact@w...>:
> Hi,
>
> I want to control the text size in a form. What I mean is this: I have a
>
> drop down box with several options and it all works fine, but I'd like
> to
> have a smaller sized text than the default size. Perhaps even the option
>
> of a different font face. I've tried everything I can think of, but it
>
> just stays the same size and appearance.
>
> The web page is in XHTML Transitional, and I'd like to keep it to
> that.
>
> Any help greatly appreciated.
>
> Regards,
>
> John Coutts.
>
Hi John,
Did you try to use style info? you might add something like:
style="{font-size:
9px;}" to your tag, or make a class with that info in it and assign it
to the
tag.
when you want to also change the font face, it's best to make a class. You
style sheet should hold something like this:
.smallfonts {
font-size: 8px;
font-family: verdana, sans-serif;
}
so you can add: class=smallfonts to your tag.
Let me know if it works!
Greetz,
Marc
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com