Tuesday, 15 June 2010

html - background-position-y doesn't work in Firefox (via CSS)? -



html - background-position-y doesn't work in Firefox (via CSS)? -

in code background-position-y doesn't work. in chrome it's ok, not working in firefox.

anyone have solution?

if position-x 0, there's no other solution writing :

background-position: 0 100px;

background-position-x non-standard implementation coming ie. chrome did re-create it, sadly not firefox...

however solution may not perfect if have separate sprites on big background, rows , cols meaning different things... (for illustration different logos on each row, selected/hovered on right, plain on left) in case, i'd suggest separate big image in separate images, or write different combinations in css... depending on number of sprites, 1 or other best choice.

html css firefox

No comments:

Post a Comment