cssfreakie Posted February 3, 2011 Share Posted February 3, 2011 hi all, This one has been puzzling me for quite some time and tonight i tried a little more but I have a feeling this is not possible. In a nut shell i would like to use an minor image on an image sprite to be repeated just like a normal image would by either repeat-x repeat-y or repeat. The problem is how? since sprites need a width otherwise they show the whole sprite. If anyone knows if this is possible and and how please let me know Just for a visual idea i added an image where the gradient black to grey image is the one i would love to repeat [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/226532-css-sprite-background-repeat-mystery/ Share on other sites More sharing options...
raknjak Posted February 3, 2011 Share Posted February 3, 2011 I think you are right in assuming that this cannot be done. I wouldn't know how to do it, maybe someone else? Quote Link to comment https://forums.phpfreaks.com/topic/226532-css-sprite-background-repeat-mystery/#findComment-1169349 Share on other sites More sharing options...
cssfreakie Posted February 3, 2011 Author Share Posted February 3, 2011 Yes i do hope if someone knows, The sprites of for instance Bing and Facebook uses the background repeat image at the very bottom with a width of the total sprite. I have a felling that that is the only way. IF someone knows please let us know Quote Link to comment https://forums.phpfreaks.com/topic/226532-css-sprite-background-repeat-mystery/#findComment-1169457 Share on other sites More sharing options...
haku Posted February 3, 2011 Share Posted February 3, 2011 That is how you have to do it (put it at the bottom giving the full width. Quote Link to comment https://forums.phpfreaks.com/topic/226532-css-sprite-background-repeat-mystery/#findComment-1169502 Share on other sites More sharing options...
cssfreakie Posted February 4, 2011 Author Share Posted February 4, 2011 Ok cool thanks Haku, i was hoping a similar technique as with image maps would be possible Mystery solved case closed ! :'( Quote Link to comment https://forums.phpfreaks.com/topic/226532-css-sprite-background-repeat-mystery/#findComment-1169665 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.