Below is the list of all elements that behavior:pager knows about:
<pageframe> - container of document to be printed. Content box of the <pageframe> is used to render portion (a.k.a. page) of document to be printed.id="document-url" - optional, will conatin URL of the document to be printed;id="document-title" - optional, will conatin <title> text of the document;id="page-no" - optional, will conatin page number;id="total-pages" - optional, will conatin total number of pages in the document.Attributes of the template's <html> element:
page-no=N - number of the page rendered in the pageframe;page-parity="odd" | "even" - page parity flag.These attributes can be used in CSS of the template document for styling, for example these rules:
html[page-parity=odd] footer { text-align:left; }
html[page-parity=even] footer { text-align:right; }
will change alignment of template's <footer> element differently for odd and even pages.