If your x-position is 0, there is no other solution than writing:
background-position: 0 100px;
background-position-x is a non-standard implementation coming from IE. Chrome made a copy, but unfortunately not firefox ...
However, this solution may not be ideal if you have separate sprites on a large background, and rows and columns mean different things ... (for example, different logos in each row, selected / hanging on the right, left) In this case, I would suggest split a large image into separate images or write different combinations in CSS ... Depending on the number of sprites, one or the other may be the best choice.
Orabîg Feb 13 '13 at 0:29 2013-02-13 00:29
source share