PDA

View Full Version : Text font face in a text field?


Steve Higgs
01-29-2001, 10:32 PM
Hi, I know it is possible to change the font face and the color of the text in a <input type="text" style"********">
but in place of "*********" i need to know what goes there
How to change to font and color of text in a text field. Thankyou in advance

jonirvine
01-30-2001, 08:04 AM
It certainly is poosible:

<input type="text" style="font-family: Comic Sans MS" size=20>

That's how.

Also: Not completely sure but this may not work in Netscape (try it and see). If not you may have to use (below) for it to work in both:

<font face="Comic Sans MS"><input type="text" style="font-family: Comic Sans MS" size=20></font>


Jon

jonirvine
01-30-2001, 08:06 AM
oops, didn't see the colour thing too.

here's that:

<input type="text" style="background-color: rgb(255,255,255); color: rgb(0,0,0); font-family: Comic Sans MS">

Jon