Mike Davies wrote:
> You might try adding a class to the <body> tag as well to indicate the
> group. Not sure if this will work as I've not tried it. perhaps others
> can comment.
> 
> Regards,
> Mike
> 
> I have a website and each page has a div body id. 
> 
> This give me control over the individual pages but is there a way to
> group divs? For example I have a section called about us and it has 4
> pages associated with it that follow the same layout. I also have a
> section called contact us that has 3 pages (map, contact details etc.)
> associated with it. Is there a way to apply grouping to pages so I can
> style accoring to body id and what group it is in?

You would need some kind of templating system... But that kind of stuff 
is pretty standard with most CMSs. I've used body ids and classes many 
times.

body classes are an ideal way of defining site section identities, ie 
different layout or colours for different major sections of the site.

Regards,
Barney
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to