Recently I have been switching my site over to css sprites to enhance performance. I used to have five 16 x 16px imgs for a dll, I now have a css sprite which is 220x140px made up of those 5 images plus text. Is it really faster to load this larger image?
Recently I have been switching my site over to css sprites to enhance performance.
Share
I do believe in real live sprites are always the best solution. I just don’t understand how you get from 5x 16px by 16px to a single file of 220px by 140px. If you use minimal space, you should be able to do it with a single image of 16px by 80px. Size does offcourse matter. Putting your text in an image is not a good idea imo. Sending the text as plain text in your html is much faster, plus it ads to readability for people that use screenreaders and is much better for SEO. I only put text in images if it uses some special font or styling I can’t reproduce with css.