mihomes - 5:39 am on Jun 7, 2011 (gmt 0)
Been fooling around with sprites lately and having trouble using them as a repeating background...
For instance, say I have this :
Lets say footerback.png is 15x66 pixels and is my repeating background for the above div. As shown it works fine.
Now, what if footerback.png is part of a collection of images... say... sprite.png at x=0 y=50...
Is it possible to repeat that specific portion of the image? I can get the footer to start off at the right position, but it repeats the entire sprite.png and not the specific portion of it I wish.
Is it even possible to use css sprites as repeating backgrounds or must they be contained within a defined size...ie non-repeating?