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

CSS 101
Lesson 1: Cascading - What Does it Mean?

By , About.com Guide

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: Your First Style Sheet > 1, 2, 3, 4, 5

Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

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

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

All rights reserved.