By Adrian Mummey in php, programmingDec 5th, 2008 | 3 Comments
CSS Sprites – A Background
The idea of combining images into a larger one and displaying this using CSS tricks has been around for awhile. There are a couple big benefits to doing this: First it reduces the number of HTTP requests that the browser has to make, by combining say 5 images into 1 big image, the number of image requests has been reduced by 4. This can increase the effeciency of page loading and you can see gains in the speed at which your page is loaded. Second, when working with elements like rollover images, you can “preload” all of the states of the rollover and...