October 2009
Beginner
636 pages
13h 35m
English
One way to use CSS files to produce HTML output is to take advantage of the style sheet cascade. Cascade refers to the resolution behavior when a style element is specified multiple times in a stylesheet. During resolution of multiple style elements (known as the cascade), property values are resolved to internal or computed style values. Some of these values are inherited from a parent style element. The W3C consortium has defined how the cascade is supposed to work in resolving multiple references to HTML elements or class selectors, especially when styles of the same name are found multiple times. There are four priority levels, with 1 being the lowest priority and 4 the highest priority. Table 18.1 ...
Read now
Unlock full access