| Type: | length |
|---|---|
| Inherited: | no |
| Used By: | body, pbr and the #page CSS elements |
| See: | footer header |
The header-height attribute controls the height of the header macro, and the footer-height attribute the height of the footer macro, if they're defined. This is roughly equivalent to padding at the top of the page. If no header-height or footer-height is defined it defaults to zero, which can result in the header or footer macro overwriting the contents of the page.
This sets a small header on the first page
<head>
<style>
#page1 { header:smallheader; header-height:20pt; }
</style>
<macrolist>
<macro id="smallheader">
<p align="center">The first page</p>
</macro>
</macrolist>
</head>