Click to See Complete Forum and Search --> : fonts and text boxes


Count_Rugen
02-05-2003, 09:04 PM
i was just curious how to get a particular font to appear in text boxes and text areas when you type in them.
Thanks
Count_Rugen

Zach Elfers
02-05-2003, 09:20 PM
<input type="text" name="text1" style="font:normal 12pt 'whatever font';">

or TextArea:

<textarea cols="65" rows="10" name="textArea1" style="font:normal 12pt 'whatever font';"></textarea>

Hope that helps!:)

Count_Rugen
02-06-2003, 12:29 AM
worked a treat! Thanks!

Stefan
02-06-2003, 05:11 AM
I would recomend the use of px or % sizes for the font-size as pt varies greatly from system to system and is actually only apropriate when you want to print the page, not when it's on screen.