Re: External Stylesheet problem

by "Comharsa" <comharsa(at)clara.net>

 Date:  Tue, 18 Jul 2000 10:12:27 +0100
 To:  "HWG - Basics" <hwg-basics(at)hwg.org>,
"Francois de Beer" <fbeer(at)sars.gov.za>
 References:  GAPTAR3BNT00016
  todo: View Thread, Original
> My External Stylesheet Does not make my background image fixed.
> Everything else works.
> What could be the probelm?

> BODY {background: url('images/Africa/IntranetBGmain.jpg');
> bgproperties:fixed;}
>
> <StylesheetTextEnd>
>
> or
> BODY {background: url('images/Africa/IntranetBGmain.jpg'); fixed;}?

Should be:

BODY {background-image: url('images/Africa/IntranetBGmain.jpg');
    background-attachment: fixed;}

or

BODY {background: url('images/Africa/IntranetBGmain.jpg') fixed;}

Note that NS can have problems with body CSS if it is an external stylesheet
rather than in the head section. Also NS<6 doesn't accept the fixed property
(AFAICR).

Brian
comharsa(at)clara.net

Fireworks FAQ: http://comharsa.com/firefaq.php3

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA