Hi all

Am now working on a template for all pages of my site other than the main page.

I want to change the background color of the #container on various pages. So far, I have come up with

#container
{
margin: 0;
background-color: #e0ffff;
background-image: url(xxx.gif);
background-repeat: repeat-y;
}

#container2
{
margin: 0;
background-color: #fdffde;
background-image: url(xxx.gif);
background-repeat: repeat-y;
}
and so on. I will then specify which particular container in the mark-up.This will make for a rather lengthy stylesheet so was wondering if there is an abbreviated way of doing this.


Samples can be seen at www.mwg.green.net.au/testpages/meetings.html and www.mwg.green.net.au/testpages/events.html

CSS is at www.mwg.green.net.au/testpages/therest.css

Thanks

Lyn

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to