cr...@animalhead.com schrieb:
On Aug 27, 2009, at 10:43 AM, Bill Moseley wrote:
Use sprite sheets to reduce the number of required connections.
I looked up "sprite sheets" and they seem to be graphics that include
lots of little tiled figures used in video games.
How does a browser know to split them up into separate images that
pages can then call out individually?
Because you tell him using position offsets in CSS. Top three hits for
"css sprites":
http://www.alistapart.com/articles/sprites
http://css-tricks.com/css-sprites/
http://spritegen.website-performance.org/
Sprites are useful for collections of related of the same size and
purpose.
--
Michael Ludwig