News for hackers. Stuff that matters.
Re:CSS Sprites are Stupid - Let's Use Archives Instead (Fire... by riso on Tuesday July 07, 2009 @02:35PM (#692113)
What would be nice is a script that extracts the image urls from the stylesheet(s), creates the sprite image for the used images, then creates another css file with the required offsets for the classes.

I have been putting off spending some time creating a script like this, mostly because I am pretty sure there is already one out there that does it.

Re:CSS Sprites are Stupid - Let's Use Archives Instead (Fire... by dpifke on Tuesday July 07, 2009 @03:02PM (#692186)
Google Web Toolkit does this; I'm sure other web development frameworks do as well. A quick search for a standalone utility revealed: http://spritegen.website-performance.org/ .