HTML to PDF content getting split between pages

Hi, 

I am using HTMl to pdf converter, and my content is getting split like the image I have added. 

I have tried to put this style on the container, but it does not work 


 page-break-inside: avoid;
    display: block;

I tried this also 


page-break-inside:avoid; page-break-after:auto


Hi Marium, alternatively you can try using ultimate pdf to convert html page content to pdf using custom css. 

Hope this will help you for your use case.


Dileep

Champion

Hello Mariam

Good day!

Please Refer to the best practice for splitting the page in correct way - https://www.outsystems.com/forums/discussion/17923/html2pdfconverter-faq/ 


Hope this will help you.

Thank you

Hello Manish, 

I have tried to put this style on another tag.

@media print {
   tr   { page-break-inside:avoid}
   }

But still the row gets split



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.