I Have three separate section as header
, body
and footer
to create pdf.
Header part will come always at top of each page and it will be fix.
______________________
| header |
|______________________|
Problem is with body content, if content is big it will go to second page.
______________________
| |
| |
| body |
| |
| |
|______________________|
Footer part will come always at bottom of each page and it will also fix.
______________________
| footer |
|______________________|
So If content is big and if two pages created then I should get two pages as:
______________________
| header |
|______________________|
| |
| |
| Body Part1 |
| |
| |
|______________________|
| footer |
|______________________|
And
______________________
| header |
|______________________|
| |
| |
| Body part2 |
| |
| |
|______________________|
| footer |
|______________________|
I tried with table format, It is working for header and content, but not worked for footer. Footer is coming only in bottom of second page not in first page.
I am using laravel dompdf
Any help would appreciated.