[thelist] Javascript and Safari problem, (document body problem?)
Austin Harris
austin at dotmail.co.uk
Fri Nov 9 16:50:05 CST 2007
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 !
More information about the thelist
mailing list