Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67441

How to add footer to bottom of each page when converting HTML to PDF

$
0
0

I am converting my HTML into a PDF report. I want the footer to show up at the bottom of the last page, even if there is a single line of text on that page. Can you please help?

I am using wkhtmltopdf tool to convert the files. I have searched a lot and only solution i could find is this:

    body{
    position:releative;
    }
    footer{
    position:absolute;
    bottom:0;
    right:0;
    float:right;
    }

This generates a footer on the bottom of the first page.

thanks !


Viewing all articles
Browse latest Browse all 67441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>