The site has 6 main pages with 'sub pages'. Each of the 6 main pages needs to have a different main image. So far, I have had to create 4 different stylesheets, each calling the relevant image. I have seen global stylesheets but not sure how they work. Is it possible to have all the main styles, except the one calling the bg main image, in a global style sheet? I could then have just the bg image in the separate stylesheets. Is there a better way of doing this..I hate to have to create 6 different stylesheets.

Set an id on your body tag.


<body id="different-image">

Then set your CSS

body#different-image
{
    background-image: ...
}


How stupid of me.. How could I not think of that? That's precisely what CSS is for. It's been a l-o-n-g day!
Thanks for the replies!
:)
Lee




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to