Erwin Moller <since_humans_read_this_I_am_spammed_too_much@spam yourself.com> writes:
[color=blue]
> Daviso wrote:
>[color=green]
>> Hi.
>>
>> I would like to know how to chage the font size into a textarea??
>>
>> Anybody knows about it???
>>
>> Thanks.[/color]
>
> Did you try to set it?
> Like:
> <textarea style="font-size:23">Hai</textarea>[/color]
If that doesn't work (which is likely if the browser is in standards
mode) add a unit to the size value, e.g.,
<textarea style="font-size:23px">Hai</textarea>
The unit is required by CSS.
Using "px" for fonts is rarely a good idea, though, since you have no
idea how readable a specific number of pixels is on a screen without
knowing both screen resolution and size (and it prevents some browsers
from scaling the font, so if it's unreadable, it's really
unreadable!). It's better to use, e.g., "120%" or "1.2em" to get a
font that is 20% larger than the user's default font.
/L
--
Lasse Reichstein Nielsen -
lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'