replace directives with standards driven CSS
graingert opened this issue · 1 comments
graingert commented
Eg for page numbers and page size it could be managed with:
<style>
@page {
margin: 10%;
size: 4in 6in landscape;
@top-center {
font-family: sans-serif;
font-weight: bold;
font-size: 2em;
content: counter(page);
}
}
hr {
page-break-after: always;
}
</style>