Paul Novitski wrote: > Thanks, Thierry, that's very cool, I'll give it a try. I didn't know > that referencing two background images for the same selector in this > way would download both of them. (Do you recall if you stumbled on > this yourself or got the idea from someone else?)
Hi Paul, I got the idea from this blog entry: http://farm.tucows.com/blog/_archives/2006/4/24/1907631.html The only thing I added to this is the idea of using *existing* elements rather than creating one for the only purpose of preloading images. > I still lean toward using a single composite background image and > changing background-position on hover because of the lesser download > weight, but I'll add this technique to my bag o' tricks. Positioning a single image is a great technique too, it just depends on the type of image/rollover effect one is dealing with. --- Regards, Thierry | www.TJKDesign.com ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
