Headers and Footers
Describes the layout and the content of the header/footer of a page. Can be used to setup running headlines or page numbers. Inherits all inline and paragraph style settings. Provides special pseudo-classes :first-page
, :left-page
and :right-page
that allow to style headers/footers on two-sided documents differently for first, left and right pages.
Selectors
-
Definitions:
-
area-header
-
area-footer
-
Style Settings
Setting | Type | Examples | Description |
---|---|---|---|
bottom-spacing |
Length | 1cm |
The spacing on the bottom of a header / footer. |
content |
Symbol | none , heading , page-number |
The content that should be filled in to the header / footer. |
top-spacing |
Length | 1cm |
The spacing on the top of a header / footer. |
Pseudoclasses
Example
area-header :first-page {
text-alignment: center
content: heading
}
area-header :left-page {
text-alignment: left
content: heading
}
area-header :right-page {
text-alignment: right
content: heading
}