At 12:59 AM -0400 3/27/08, Marcy Schaller wrote:
>Can two style sheets be applied simultaneously to the same markup?
>I have a "general" style sheet for a friend's website that standardizes
>the look of all her pages. One of her pages has some unique layout
>requirements that I'm thinking of putting into a separate style sheet.
>If I list the general style sheet first, and then the one specific for
>the unique page, am I correct in thinking that both will be applied, and
>that any tag's styles in the second sheet will supersede its styles in
>Or would it be better to create some div id's and keep everything in one
Either way would work. What you need is a way to remember what is different.
When I'm confronted with an unique page, I just wrap the difference
in an unique id (for that page) and then style accordingly.
But then again, I use php includes for common code through-out the
site (i.e., header, footer, etc.) and as such I want only one header
and thus one style sheet.
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/