Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

CHAPTER 3: CSS Primer > Understanding Style Cascading - Pg. 83

CHAPTER 3 CSS PRIMER Figure 3-9. Creating selector unions and negations Understanding Style Cascading The key to understanding style sheets is to understand how they cascade and inherit. There can be multiple sources for CSS properties, and cascading and inheritance are the means by which the browser determines which values should be used when it displays an element. You have seen three different ways you can define styles (inline, embedded, and from an external style sheet), but you need to know about