John Faulds wrote: > Maybe I'm missing something but you've got > an image in your HTML. That's not really an > image replacement method in that case.
But it is, though. The embedded image is there for another reason and it's not the same image: It's my pre-loading [1] technique, John; it's the hover/focus image. Granted, you might be thinking if I'm going to do that I could very well just place the embedded image and apply alt text in the alt attribute, and that would make sense, but then I'd lose the hover/focus effect on the inside pages (unless I applied the effect using onmouseover/onfocus with JavaScript). [Plus every thing above the #header div is in a single include file.] I preload it that way; it's offset outside the viewport. If you compare the two images you note the subtle style differences. I do it as a courtesy and performace enhancement to those with slower connections. It's not needed on the "home" page, but it gets it in the cache ahead of time for the inside pages. I am trying to avoid that flicker so often associated with IR methods. And it doesn't affect resizing of the content. It'll create a horizonatal scroll bar if styles are off, but no scrolling is needed so I can live with that. I hope that makes sense. [1] http://green-beast.com/blog/?p=118 Respectfully, Mike Cherim ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
