I\'d like to keep all my small images in one sprite file, for example: Now suppose I want to add a thin background image which is meant to repeat-x over 100% the width of an element:
This is my issue. I have a menu using an image sprite, the image has transparencies, but when I add a :hover, it开发者_开发百科 works, but I am still able to see the original image at the end.
I\'m doing a website which displays lots of little icons (stars, flags, folders...) Now I\'m using the CSS sprite technique and it works great but it\'s hard to mantain.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, refere开发者_开发百科nces,or expertise, but this question will likely so
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
at the moment the navigation bar of my website is consisted of \'img\' tags wrapped in \'a\' tags.Each img has a javascript function to show a rollover img.So all in all the browser has to l开发者_C百
It appears Amazon uses (used) a sprite with static backgrounds as well as tiled, but they\'re mixed in which appears to be no structured position. Generally my understanding is if you want to repeat-x
Let\'s say you have a png and it contains all of the icons that are to be used on one page, what is the process of using JS to select and display on a certain icon in that image? I\'ve always seen it
This question already has answers here: Closed 10 years ago. 开发者_如何学Go Possible Duplicate: Best Way to Sprite Images?
I would like to use a technique called CSS Sprites where you have a single image and you take advantage of width, height and background-position in CSS to display only parts of the image which combine