Archive for the ‘CSS’ Category

CSS sprites: Why I use them

Wednesday, June 3rd, 2009

In the before times, it was socially acceptable to use an image as a link. It was simple enough: stick an image tag inside of an anchor tag. Now that might be fine for people with a head full of eyeballs but bots and people using text-only browsers suffer.

By using a sprite, I’m making 1 http request instead of 9. Here’s what my sprite looks like:

Rob's sprite
(more…)