Could use some assistance with converting HTML into a PDF report. In particular, I want the footer to always appear at the bottom of the last page, even if there is minimal content on that page. Any suggestions?
I've been utilizing the wkhtmltopdf tool for the conversion process and have been scouring for solutions. So far, the only one I could locate involves using the following code:
body{
position:releative;
}
footer{
position:absolute;
bottom:0;
right:0;
float:right;
}
This approach places the footer on the bottom of the first page, but what I'm aiming for is having it consistently at the bottom of the last page.
Your help would be greatly appreciated!