So I am doing my first site with CSS sprites and I was wondering when saving an images as a .png does the amount of whitespace in-between images have an impact on the performance of the image?
For Instance if I where to crame 10 images into a very small canvas would it be smaller then if I where to crame the same 10 images into a nicely spaced out image?
PNG does a pretty good job of compressing white space between images so the download size impact of spacing them out is probably very small. The larger image could have a performance impact when decompressed on the browser end, but this will likely only be noticeable on very small systems.
But overall, there is no disadvantage to packing the images in tightly so I would definately suggest doing so.