Possible Duplicate:
CSS Sprites and repeating backgrounds
Are there any tricks that makes it possible to use sprite images as repeatable backgrounds?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can but there are some limitations and it depends how the images are repeated. Here is how you would go about this depending on repeat direction:
Repeat: Don’t think this is possible.
repeat-X: You would stack these vertically in your sprite sheet. You can only have one image per “row”. All images must have the same width.
repeat-y: You would line the iages horizontally and have only one image per “column”. All images must have the same height.
You are also limited to having separate sprite sheets for each repeat/no-repeat method.