I am wondering if I do this:
<div style="width:50px;height:50px;background: transparent url(sprite.png) 0px 0px no-repeat;">555</div> <div style="width:50px;height:50px;background: transparent url(sprite.png) -56px 0px no-repeat;">666</div> <div style="width:50px;height:50px;background: transparent url(sprite.png) -109px 0px no-repeat;">666</div>
Are you going to upload an image 3 times?
or will it upload an image 1 time and display different parts of it on a web page?
source share