1. Home
  2. Computing & Technology
  3. Web Design / HTML

Beginning Cascading Style Sheets

Part 3: What Does Cascading Mean?

By Jennifer Kyrnin, About.com

Cascading is something that makes CSS even more powerful. Style sheets cascade when The Web Writer or user (or both) have created an order of precedence for the browser to apply the style rules in multiple sheets. The style rule or sheet that has the highest precedence is the one that is used. The following list is a simplification of how your browser decides precedence for a style:

  1. Look for the style element that is created, if it is not in the document, use the default rules in the browser
  2. Determine if any of the style rules are marked as important and apply those to the appropriate elements
  3. Any style rules in the document will have precedence over the default browser settings
  4. The more specific the style rule, the higher the precedence it will have
  5. Finally, if two rules apply to the same element, the one that was loaded last will have the highest precedence

Next page > More CSS Resources > Page 1, 2, 3, 4

Previous Features

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2008 About.com, a part of The New York Times Company.

All rights reserved.