Forum Moderators: open
If you use the type that combines the image¦rollover into one image, then uses CSS to shift the background-position, then there's no need for preload, and server calls are cut by half (or more if you want to push the idea further).
or did i misunderstand that completely?
that sounds like it might be a little annoying trying to get the correct part of the image to show reliably across browsers.
1. We're using an <a>, which is strictly an inline element. For strict browsers, this needs to be styled as block (or better inline-block) so that it can be given width & height.
2. Watch out if there's any padding involved, because then we encounter the usual box-model problems that will need to be worked around.