Chapter V. CSS and Paged Media

Table of Contents

1. Generated Content
2. Counters
3. Page Selectors
4. Named Pages
5. Page Breaks
6. Widows and Orphans
7. Page Layout
8. Page Margin Boxes
9. Multi-Column Layout
10. Footnotes
11. Named Strings
12. Cross-references
13. Leaders
14. Table of Contents
15. Shrink-to-Fit
15.1. The property -ro-scale-content
15.2. The method setPixelsPerInchShrinkToFit
16. Hyphenation
17. Page Order
18. Pages Per Sheet
19. Booklet
20. Pixels per Inch

The CSS standard provides an easy and powerful way to control the layout of paged media. Using CSS to style your pages, you can add generated content to your document, use counters to number your chapters, pages and other elements, and even individually style distinct sections of a page such as footers using so-called page margin boxes. Some additional functionality is available as API methods.