I am utilizing dompdf to generate a PDF document. Within this PDF, I have included a table. However, my goal is to ensure that the height of this table remains constant at 500px;
Below is the code snippet:
<div style="width : 100%; height: 550px">
<table class="detail" style="width : 100%; padding-top: -10px; height: 550px ">
<tbody>
(Table content here)
</tbody>
</table>
</div>
The issue lies in trying to set a fixed height for the table using dompdf. Even when only one row exists within the tbody, the table's height does not remain constant as intended.
If you could provide any assistance or guidance on how to achieve this desired outcome, it would be greatly appreciated.