onmouseover in favor of :hover). The concept of "CSS
sprites" takes it a bit further. The idea? Consolidate all your images into one big image, and just shuffle the background position depending on what you want the user to see.
This article at informit is an excellent introduction to CSS sprites. It breaks down the process step-by-step, providing examples at every point along the way. And check out a great example by Dave Shea that really drives home the extent to which this technique could be utilized.
On large sites, every little server call matters. This is one way to minimize server calls while maintaining separation of content from presentation, accessibility, and graceful degradation.








1. There are of course massive accessibility issues with the Davis Shea example, due to the use of what is essentially an empty anchor tag - invisible, unlabelled and unclickable without CSS.
I would add an span element containing the link text (e.g. "harbour center"), and then set the span's 'display' attribute to 'none' via CSS. No change to the CSS view, non-CSS users and search-engines get to see the content.
Posted at 8:11AM on Mar 31st 2006 by BSN