hi i have a sprite image & i want to repeat part of it in my bg page, i tried something like this, but it didn't work out: body { background:url("status.gif") repeat-y scroll 0 -10px; } Code (markup): the point is i want only part of that sprite repeat all over my page. is there any way to have it done? or i must separate that part image?
Not sure about what you are referring as your issue with background. As far as repeating image as background for body
maybe its like my problem you can put you image url here, and indicate which part of your image you want to repeat?
it can be any image, suppose this one: google.com/intl/en/options/i9.png i want to repeat only first icon in my bg.
As workingsmart already said it is NOT possible to repeat only a part of an image with CSS. You need to seperate that part from your sprite image.