> I have 2 pages ( so far) in a site which share the same structure or  
> design "grid" but have differences with some of the visual elements,  
> such as differing background colors, or different link treatments...

Hi John,

A trick I use to use different CSS rules in a page is to add an
id="page_name" to each page's <body> tag. In cases where one page's style is
different from another, define multiple CSS rules:

body#home {background-color: #cc0; color: #000;}
body#about {background-color: #fff; color: #060;}

Then leave body#page_name off all CSS rules that stay the same between
pages.


Best regards,
Kepler Gelotte
Neighbor Webmaster, Inc.
156 Normandy Dr., Piscataway, NJ 08854
www.neighborwebmaster.com
phone/fax: (732) 302-0904

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

Reply via email to