Post Archive

› July 10, 2003

CSS Rollovers - No image preloading needed

  • Reported by Nate

More brilliance from Pixy, who couldn't post this himself here, since (at the time of writing) I have the site hidden for renovations.
In a remarkably simple fashion, your rollovers can respond instantly, even on the slowest connections. Pixy achieved this by cleverly using one image for all three rollover states and adjusting the background-position to show each one as appropriate.
Check out a working sample and the code at pixy's example page.

Comments

1. December 10, 2004 07:49 PM

Quote this comment

Posted…

ok....could u have a work around for NS 4 browsers and old browsers? The A tag doenst work..lol