|
|
 |
Re: FN-FORUM: Overide property in CSS file
date posted 1st March 2004 12:55
Paul Cooper wrote:
>
> Hi
>
> This is puzzling me. All I want is a background image for all pages
> except 1 in a site. So in my css I have ...
>
> body{background-image:url(../images/background.gif);
> background-repeat:no-repeat;}
>
> Then on the page I want to have just a plain white background. I
> thought adding the relevant style to the page would overide what was set
> in the css file. So my body tag would look like....
>
>
That won't work, HTML styles have lower priority than CSS. You're also
not removing the reference to the background image.
> I've even tried adding it between style tags in the head region, as well
> as setting the background image to a spacer. Nothing is working.
Try:
body {
background-image: none;
background-color: #ffffff;
}
on the page after the CSS meta/import. That should re-set the cascading
of the background for the body for that page.
HTH
Matt
|
 |
|