28
Views
5
Comments
when download pdf then page breaking, when going in next page then table breaking

Hi, 

when download any pdf and going next page in between table or container is breaking, how to fix


pdf page breaking.jpeg
2023-10-21 19-42-11
Tousif Khan
Champion

Hello

There are  certain printing rules to apply only when printing you can use those

@media print {

   .Element {

       page-break-after: avoid;//auto|always|avoid|left|right|initial|inherit;

       page-break-before: avoid;//auto|always|avoid|left|right|initial|inherit;

       page-break-inside: avoid;//auto|always|avoid|left|right|initial|inherit;

   }

}

https://www.w3schools.com/cssref/pr_print_pageba.asp

I hope this will help
Thanks
Tousif Khan

2024-09-24 03-27-47
Rohit Kumar

when using Text area widget and in UI expanding Text area widget property max.Length 5000 then print pdf then text area container is breaking, in pdf going 1st page to next page that time showing text area container half in one page bottom and in next text area container half showing  here this css is not working ,here how to fix 

2023-10-21 19-42-11
Tousif Khan
Champion

Can you attach some snapshot for it, it it really hard to understand this way,

But try with page-break-inside:auto,
It should work
Thanks

2024-09-24 03-27-47
Rohit Kumar

Word or sentance are cuting when going to 1st page to 2nd page


IMG_20240508_171227.jpg
2024-09-24 03-27-47
Rohit Kumar

See when print pdf then container or text word sentance are cuting this pdf is dynamic 


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