Hi,
I've been trying out Prince and so far, I am quite impressed apart from the following point:
The only way I can put headers and footers on multiple pages using flow:static is to put the actual header and footer content at the top of the html document.
i.e.
<html>
<div id="header">
header content
</div>
<div id="footer">
footer content
</div>
<div id="content">
main content
</div>
</html>
css:
@page {
@top { content: flow(header); }
@bottom {content: flow(footer); }
}
#header
{flow: static(header);}
#footer
{flow: static(footer);}
This doesn't work however, if I structure my document to accessibility guidelines and place the main content at the top of the document and the header and footer at the bottom, in this case, the header and footer are only put on the last page???
Is this a bug, and if so, when will it be fixed
I've been trying out Prince and so far, I am quite impressed apart from the following point:
The only way I can put headers and footers on multiple pages using flow:static is to put the actual header and footer content at the top of the html document.
i.e.
<html>
<div id="header">
header content
</div>
<div id="footer">
footer content
</div>
<div id="content">
main content
</div>
</html>
css:
@page {
@top { content: flow(header); }
@bottom {content: flow(footer); }
}
#header
{flow: static(header);}
#footer
{flow: static(footer);}
This doesn't work however, if I structure my document to accessibility guidelines and place the main content at the top of the document and the header and footer at the bottom, in this case, the header and footer are only put on the last page???
Is this a bug, and if so, when will it be fixed