View Full Version : background images with CSS


365
06-20-2004, 02:48 PM
:(
Hi there
the problem is i want to have different BG images for different pages which all use the same style sheet, how can i override this, allowing my Bg image while still using the same style sheet.
I think the stylesheet is the problem because when i removed it, the Bg image showed up.
So anyone got any code i can use for a Bg image that will work?!?

Thank you

kittycat
06-20-2004, 02:52 PM
Don't specify a background in your stylesheet.
On each page add the background in like this:
<style type="text/css">
body { background here }
</style>
And it should override anyway, even if you do have it in a stylesheet.

365
06-20-2004, 02:54 PM
done dusted
just stuck the style bit with the BG image after the line with the style sheet
and that overrode it!

thanks anyway and keep up the good work :)