Christian Heilmann wrote: >>> I'm curious to know if anyone here have successfully applied >>> a background >>> image to an IMG element through scripting?
> Have you tried to set the image to block first? Also, just do > obj.style.background = 'url(bla.gif) #fff no-repeat' > instead of backgroundImage Argh! I'm so stupid. I was using "an_image.gif'" but the file name was: "an_image.jpg" I'd checked the spelling of the file name *many, many* times, but totally missed the extension. It reminds me of the time when I used to write "colour" instead of "color"... :-( Duh! Thanks. --- Regards, Thierry | www.TJKDesign.com ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************