Why is It Called “Cascading Style Sheets?
A Cascading Style Sheet means multiple style sheets may be blended together to affect a page, and the closer the rule is set to the tag element, the higher the rule’s priority, loosely speaking. As with anything in life there are exceptions, and the following is simplified, but conceptually it’s a good place to start. Here are the levels of priority with “1” being the highest: • apply the rule to an individual HTML tag • embed rules for the entire page before the tag • link to an external style sheet (useful for site wide consistency) I often apply a site wide style sheet by importing an external style sheet. If needed, I override it locally with embedded rules and/or applying the rule to the tag. An example would be the indenting of paragraphs. I like this as the page is easier to scan for blocks of information. Sometimes this may not be useful (note this brief paragraph is not indented). All I have to do is tell that particular paragraph not to indent, and the indentation is