Hi,
I wish to have two different sized footers in my PDF. I have achieved this using the css below.
The problem however, is that the footer on the last page is actually touching the bottom of the visible page, or in other words there is not enough bottom margin on the last page.
My question is how can I get these two different sized footers to sit at the same distance from the bottom of the page? Or how can I move the footer on the last page up a bit?
I thought that if I put 'margin-top:-2cm" for the '#footer_last' div it would actually move the footer up a bit, but it doesn't.
Would appreciate some help.
I wish to have two different sized footers in my PDF. I have achieved this using the css below.
The problem however, is that the footer on the last page is actually touching the bottom of the visible page, or in other words there is not enough bottom margin on the last page.
My question is how can I get these two different sized footers to sit at the same distance from the bottom of the page? Or how can I move the footer on the last page up a bit?
@page {
size: a4;
margin: 3cm 2cm 3cm 2cm;
padding: 2cm 0 2cm 0;
@top {
content: flow(header);
}
@bottom {
content: flow(footer);
border:1px solid #00CC33;
}
}
#header {prince-flow: static(header);}
#footer {prince-flow: static(footer);}
#footer_last {prince-flow: static(footer);}
I thought that if I put 'margin-top:-2cm" for the '#footer_last' div it would actually move the footer up a bit, but it doesn't.
Would appreciate some help.