Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/02/2011, 22:00
Avatar de ale_dla
ale_dla
 
Fecha de Ingreso: abril-2009
Ubicación: Buenos Aires, Argentina
Mensajes: 189
Antigüedad: 15 años
Puntos: 3
Boton enviar imagen css

Hola a todos!
Como puedo hacer que un input submit sea una imagen yo tengo una imagen y un hover para cuando pase el mouse arriba del boton cambia de color.
Mi codigo css es este:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Boton</title>
<
style type="text/css">
.
submit{
    
background:url(button.png);
    
width:256px;
    
height:76px;
}
.
submit:hover{
    
background:url(button2.png);
    
width:256px;
    
height:76px;
}
</
style>
</
head>

<
body>
<
input type="submit" class="submit" value=""/>
</
body>
</
html
Me muestra un borde y fondo gris en vez de mostrar la imagen que tengo.
Quien pueda ayudarme se los agradezco.
Saludos! :D

Última edición por ale_dla; 25/02/2011 a las 22:14