Pregunta

http://cambridgeuplighting.com/testimonials

Este código funciona en Safari, Internet Explorer 7 y IE8, pero no en FF 3.5.7. El código cambia el fondo del pequeño icono de fondo cuando se pasa sobre un div.

jQuery(function( $ ){
 $('.oneThird').hover(function(){
  $(this).find('span.icon').css( {'background-position-y': '-60px'} );
 }, function(){
  $(this).find('span.icon').css( {'background-position-y': '0px'} );
 });
}); 

Puede alguien ayudar? Muchas gracias.

¿Fue útil?

Solución

background-position-y no es compatible con Firefox como se puede ver aquí . utilizar background-position: 0 -60px; en vez (por lo tanto incluyendo las posiciones X e Y instrucciones).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top