Help with background | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Help with background

What I want to do is, I want to have a picture as a background for my web page, I am able to do that, but then when I do <label> Username </label> <input type=Username name="Username"/> <label> Password </label> <input type="Password" name="password" Of course the pass word and username box doesnt show up... How would I give the username and password box color so it does show up and the image does not cover it?

31st Jul 2016, 12:15 AM
John Gunasar
John Gunasar - avatar
1 Respuesta
+ 1
try this code in a simple page then add to your page <input type="text" value="username" ></input> for adding the styling just add this and then add whatever u want in CSS give an Id to the tag <input type="text" value="username" id="style1"></input> add this in CSS #style1 { background-color:black; } this will add a black background to ur text boxes # used for id and . used for class
31st Jul 2016, 2:16 AM
Abdul Basit Masood
Abdul Basit Masood - avatar