Using Multiple CSS Files with ODS HTML

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 ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.