I am trying to use printJS to print a report using the content inside an html div and it is required to have repeating headers and footers on each page of the report. I used the solution I found in this _https://medium.com/@Idan_Co/the-ultimate-print-html-template-with-header-footer-568f415f6d2a_ to generate the repeating headers and footers. However, the problem is that the content inside the tbody element overlaps with the content in the footer and header on chrome but not on firefox. The html code for the report is as something like this:
The overlap is happening on google-chrome and not on firefox.
Is there any way to resolve this issue? How do I prevent content overlap with header & footer on chrome? Please help.
I am trying to use printJS to print a report using the content inside an html div and it is required to have repeating headers and footers on each page of the report. I used the solution I found in this _https://medium.com/@Idan_Co/the-ultimate-print-html-template-with-header-footer-568f415f6d2a_ to generate the repeating headers and footers. However, the problem is that the content inside the tbody element overlaps with the content in the footer and header on chrome but not on firefox. The html code for the report is as something like this:
The printJS code for printing the report is this:
Here are the links to the reference images related to the problem:
Overlap on chrome: https://i.stack.imgur.com/iRGZg.jpg
No overlap on firefox: https://i.stack.imgur.com/x1jwI.jpg
The overlap is happening on google-chrome and not on firefox. Is there any way to resolve this issue? How do I prevent content overlap with header & footer on chrome? Please help.