HTML Form Color Question

How can I change the color of the background used in a form? Thanks.

<BODY BGCOLOR="#???">

The 6 question marks represent the numbers that make up the hexadecimal code for a particular colour. For a list of popular colours and their hexadecimal codes see the Colour Codes:

http://rd.alphalink.com.au/htmlguide/colours.html

or use this:

http://www.imagitek.com/bcs.html

Thanls, but I know how to change the background color of a page…What I need to know is how to change the BG color of a “Form” (ones where you fill it out then click the submit button).

Be aware that changing form background colours is not supported by all browsers.

The code is:


<textarea bgcolor="#cccccc">

You have to do it in CSS.

<input type=“text” style=“background-color: #99CCCC” value=“Submit”>

You can also change borders and text fonts.

http://webdesign.about.com/library/weekly/aa052801a.htm

I made a typo above, but anyhoo, here’s a URL for some help.

…yep, GuanoLad’s way would be my choice too. Much simpler. Still doesn’t work on all browsers, though.

Awesome, it worked! Now how do i adjust the text color in the forum? (I need white text against the black background)


<input type="text" style="background-color: #99CCCC; color:#FFFFFF;" value="Submit">

Yes, you can change the border colour and style too.

Oh, sorry. I misunderstood your question to mean the background of the page on which the form exists. Apologies. Carry on.