PDA

View Full Version : Form Colors Please help html Kids!


malevownz
March 4th, 2005, 07:45 AM
Say there is a form with a box how do i make the backround black with the outline white, and the submit button black with white text, thanks for any and all help!:(

rockboy
March 4th, 2005, 09:10 AM
You can do it with CSS by creating a class for your input and textarea tags. The quick way is just to add an inline style in your tags:

style="background-color:#000000;color:#ffffff;border:1px solid white;"

More info here:
http://www.w3schools.com/css/default.asp

~~~

I just noticed it's your first post. Welcome to CTH. :)