PDA

View Full Version : Changing colours of cgi form fields



defiant
June 21st, 2001, 18:38
I was wondering if anyone knew the java script or cgi or whatever it takes to change background colours of cgi form text fields for a form to e-mail cgi script. Or if anyone knows where i can find a form to e-mail script that is customizable in the way that you can change the background colour of the form fields.

ducktape
June 21st, 2001, 19:38
its called css

ducktape
June 21st, 2001, 19:41
oh yeah how to do it

<FORM>
Name: <INPUT TYPE="text" size="25" style="background-color:green">
</FORM>

this is an example if you already have the form created then ll you really need to do is cut n paste the style="background-color:green" into each of your form fields of course you can change the color from green to whatever but if you use hex codes be sure to use the # b4 the hex code example #000000

defiant
June 21st, 2001, 22:20
thanks a lot, thats really helpful, it adds to the look of my site a lot

ducktape
June 21st, 2001, 23:01
if theres anything else let us know thats why were here. I'm sure that every ? could be answered by someone around here