The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Sprite background repeat Re: CSS Sprite background repeat


It doesn’t show vertical repetition because the box is 180 pixels high and the image is 300 pixels high, so you won’t see the next instance.

If I understand correctly what you’re trying to do: you can’t take an area of a sprite, apply it to a box as the background and have (only) that area repeated — it will repeat the entire sprite image.