Forums

This topic is locked

Change color of form field

Posted 27 Jul 2001 15:20:32
1
has voted
27 Jul 2001 15:20:32 Peter Pritchard posted:
Does anyone know how to change the color of the form field instead of just plain white, I think it is done with CSS.
Thanks in advance peter.

Replies

Replied 27 Jul 2001 17:02:11
27 Jul 2001 17:02:11 Viktor Farcic replied:
Use something like this:
<input type="text" style="background-color: #009AFF" name="txtName" size="50" maxlength="50">

In other words, just add
style="background-color: #009AFF"
where #009AFF is color you want.

Same thing can be applied to any form element.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Does anyone know how to change the color of the form field instead of just plain white, I think it is done with CSS.
Thanks in advance peter.


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic