On 4/10/08, John <[EMAIL PROTECTED]> wrote: > 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... > > can I combine the 2 sheets and have the documents "know" which link > treatments and background colors they're supposed to have?
Yes, you can link to as many stylesheets on any given page as you like. Getting the styles you want on a given page will greatly depend on your understanding of the cascade: <http://www.w3.org/TR/CSS21/cascade.html#cascade> The general rule is that style declarations near the "bottom" of a stylesheet will take precedence in the event of a conflict. HTML Dog has a great little tutorial on the matter at <http://htmldog.com/guides/cssadvanced/specificity/> The gist of this is thus: So long as your page-specific styles are being declared after the base styles for the site you're golden. Either make certain the base sheet is linked first, or possibly even better yet, import the base css sheet into your page specific styles. If you import the base styles it would be equivalent of you pasting the entire sheet at the very top of each of your page-specific sheets. Therefore, those rules will be overwritten by the page-specific rules entirely. ______________________________________________________________________ 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/