amitdivya / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

This is a fix for issue 91 - infinite loop #576

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a fix for issue 91

if you wrap the table in a div that is absolutely positioned it takes it out of 
the document flow to render the pdf that places the contents on the page 
after.... sooo 

<div style="height:100%; overflow:hidden; position:absolute; top:0px;">
 <table></table>
</div>

this will fix the infinite loop. This may not be perfect for everyone but as I 
build my dompdf pages as tables and each page is a new table I just need to 
wrap the table in this and it kills the infinite loop

Original issue reported on code.google.com by mick.d...@gmail.com on 6 Jun 2014 at 1:32