Skip to content Skip to sidebar Skip to footer

Extra Blank Page With Tcpdf

I am using TCPDF to convert a page generated by php from a mysql query which has uses a div and style='page-break-after:always' for each record, these records will vary in length.

Solution 1:

Try using

.element:last-child {page-break-after:auto;}

Where 'element' is your CSS selector.

Post a Comment for "Extra Blank Page With Tcpdf"