SmartSprites:

CSS Sprites Generator Done Right

stable
  • Vertical and horizontal sprites
  • "Spriting" x- and y-repeated images
  • Custom sprite margins
  • Processing multiple CSS files, creating multiple sprite images
  • IE6-friendly PNG8 generation
  • CSS- and document-root-relative images
  • Easy integration with build systems

No more tedious copying & pasting to your CSS when adding or changing CSS sprites in your designs!

SmartSprites fully automatically maintains CSS sprites in your designs. It parses special directives you can insert into your original CSS to mark individual images to be turned into sprites. It then builds sprite images from the collected images and automatically inserts the required CSS properties into your style sheet, so that the sprites are used instead of the individual images.

Full description, documentation and examples on: http://csssprites.org