Let me provide some context: I am utilizing Laravel to generate a view that is then converted to a PDF using barryvdh/laravel-snappy
with the help of wkhtmltopdf
, and everything is functioning as expected.
However, I am encountering difficulties in styling a table within the view to meet my specific requirements. This pertains more to an HTML/CSS issue since it involves an invoice layout containing client address details at the top and a multi-page table.
My concern lies in ensuring that the table headers persist on each page when the table spans multiple pages. Typically, this could be achieved using the thead
element, but it seems that wkhtmltopdf
(which is based on Webkit) does not support this feature.
While I have come across information suggesting this was a known issue with Chrome/Webkit, I am curious if anyone has devised a workaround or if a solution now exists to address this limitation.