|
|
 |
Re: FN-FORUM: Problem with getElementById and Mac IE
date posted 11th May 2006 13:20
On 11 May 2006 13:10:34 -0000, "John Wooding" said:
> > document.getElementById('bannerRight').style.backgroundImage =
> > "url('images/2.jpg')";
> I remember vaguely a similar problem and suspect it is a bug on
> single/double/no quotes
> re mac ie. If you can detect Mac IE then use different delimiters for mac
> ie to single quotes for others. e.g. try 'url("images/2.jpg")'
Excellent, thanks John, works like a charm!
Cheers
Paul
--
Paul Silver - Web Development and Technical Search Engine Optimisation
07813 654285 -- http://www.paulsilver.co.uk
Check your web pages: http://www.spidertest.com
|
 |
|