0
Background colour.
I need help with setting background colour on a form <input type= text name="username"/><br/><input type=password name="password"/> how do I set background colour on this form?
4 odpowiedzi
+ 1
form {background:#123456;}
+ 1
if you have a separate CSS file or a style tag you can write:
form{
background-color: #FF0000;
}
if you don't:
<form style="background-color: #FF0000">
<input type="text" name="username" />
<br />
<input type="password" name="password" />
</form>
//EDITED\\
Reply:: after is better
0
Do I write that before or after I've entered <input type>
0
Thanks Mat much appreciated.