If you want to change the css style for all input in your site or forms you must put it:
- In your css file:
input {
color:#000;
font-weight: bold;
font-size:14px;
height:20px;
padding: 2px 2px 2px 5px;
font-family:tahoma,verdana,sans-serif;
border: 1px solid #696;
}
input:hover { background: #FFF; }
In input class I have put black color for the font and bold with a border and 20px in height
In input:hover I put blackground in white for resalt the font if you put the mouse over the input text
The code hover put background in buttons too
If you wants put the background only in the input type="text" then:
Replace:
input:hover { background: #FFF; }
by:
input[type=text]:hover{
background: #FFF;
}

Partners
Crear Logo Gratis
Como conseguir dinero
http://www.dominios-web.com
Crear Web Facil sin conocimientos
Últimos envíos
How to change the css style to overall input
Some solutions to typical problems you may encounter with CSS
Comprar un dominio en internet
Add a border to a single image
To remove the border on all linked images in a page
Change text color with div or p
Free menu css style
TOP Búsquedas