Many thanks! I am so used to putting ; at the end of style values in css that I didn't think that it would be used in this way. Strange how only Safari picks it up though... All the best, Austin. ----- "kasimir-k" <kasimir.k.lists at gmail.com> wrote: > Austin Harris scribeva in 09/11/2007 13:01: > > I think the problem is this line; > > document.body.style.background='#5a5a5a > url(homeimages/'+imageNumber+'/'+finalWidth+'.jpg) no-repeat top > center;'; > > I'd think so too. The problem is the ";" at the end of the style, so > it > should be: > > document.body.style.background='#5a5a5a > url(homeimages/'+imageNumber+'/'+finalWidth+'.jpg) no-repeat top > center'; > > ";" is not a valid character for style value. > > .k > > > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt !