I am using dompdf for converting an html form to pdf document.I am able to convert html form to pdf document but a table inside the html form is splitting in between to next page.Can anyone help me in solving this problem ?
For avoiding the table from spliting in between i have used 'page-break-inside: avoid;' property.But when i apply that to table element,table is pushing down to next page while other sections on first page.
<table width="472" border="1" cellspacing="0" cellpadding="0" class="table_1" style="page-break-inside:avoid;">
This is the code i tried for avoiding page break in table element.But it is not coming on first page along with other sections instead it is pushing down.
I expect all contents to come on a single page but now it is being splitted to next page.