molly.com

Thursday 26 May 2005

Article: Linked Style and the Cascade

Article: Linked Style and the Cascade

Level: Beginner

For: Dreamweaver MX / MX 2004 users specifically, but plenty of information for those with a general interest in learning CSS.

From the article’s intro:

“One challenge many Web designers and developers new to CSS face is to understand the various facets of the Cascade. The Cascade is a hierarchy of application and provides us with rules to both apply CSS in a hierarchical fashion if we so decide to do so and to help us resolve conflicts that might appear within our styles.

In recent articles, I’ve covered the various types of style sheets, including user, author, and browser, and then reviewed the primary author styles: inline, embedded, and linked. I discussed what the Cascade offers in terms of how it applies styles in this hierarchical fashion. What I haven’t yet discussed is the use of multiple linked style sheets in a given document, why this can be helpful, and how the Cascade applies in the instance of multiple style sheets and multiple conflicting rules.”

The article goes on to demonstrate how the Cascade determines the application of style sheets and rules when there are multiple linked styles, and when there are conflicting rules within the same style sheet. The article does not address specificity, the next one in the series will.

Note that this is not free content, alas. It’ll cost you $2.99 USD for the article or you can buy a subscription to DMXZone. There’s some really great resources there for Dreamweaver folks.

Filed under:   standards, web design and development
Posted by:   Molly | 07:17 | Comments Off

Comments are closed.

Upcoming Travels