I am trying to display multiple html tables in vf page using apex:repeat using renderAsPdf. Issue: Some times the HTML table displays inappropriate way at the end of pdf page like below image :
does anyone face this weird issue?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityTry adding something like this to CSS
table { page-break-after:auto }
tr { page-break-inside:avoid; page-break-after:auto }
td { page-break-inside:avoid; page-break-after:auto }
thead { display: table-row-group; }
tfoot { display:table-footer-group }