Exactly how does the cascade in Cascading Style Sheets work? This concise guide demonstrates the power and simplicity of CSS selectors for applying style rules to different web page elements. You'll learn how your page's presentation depends on a multitude of style rules and the complex ways they function--and sometimes collide--within the document's structure.This guide is a chapter from the upcoming fourth edition of The Definitive Guide. When you purchase either the print or the ebook edition of Selectors, Specificity, and the Cascade, you'll receive a significant discount on the entire Definitive Guide when it's released. Why wait when you can learn how to use selectors and other key CSS 3 features right away?Learn how to create CSS rules that apply to a large number of similar elementsGroup rules to make style sheets smaller and download times fasterUnderstand how elements inherit styles from their parentsDiscover how reader and browser preferences affect your page presentationExamine specificity--the method browsers use to choose between two conflicting style rulesGet a handle on how specificity and inheritance combine to form the cascadeGet details on all of the CSS3 selectors
Eric A. Meyer is an American web design consultant and author. He is best known for his advocacy work on behalf of web standards, most notably CSS (Cascading Style Sheets), a technique for managing how HTML is displayed. Meyer has written a number of books and articles on CSS and given many presentations promoting its use. Eric currently works for Igalia.