Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/12/2010, 08:42
PabloFerran
 
Fecha de Ingreso: noviembre-2010
Mensajes: 48
Antigüedad: 13 años, 5 meses
Puntos: 0
Problema sprite CSS

Codgio Html:
Cita:
<html>
<head>
<title>Sprite</title>
<link rel="stylesheet" type="text/css" href="stole.css">
</head>
<body>
<div class="boton"></div>
</body>
</html>
Código CSS:
Cita:
.boton{
width:46px;
height:25px;
background: transparent url(sprite.png) no-repeat;
float: left;
}
.boton:hover{
background-position: 0px -24px;
}
Tengo un problema al realizar la técnica de rollover con css Sprite.
Al abrir la página se ve la imagen pero al pasar el ratón por encima no cambia.