I am using <ul><li></li>....</ul>
to display data. When I found to much data then some splits between two pages. PFA image
I tried with below CSS:
ul { page-break-inside: avoid !important; }
AND
li { page-break-inside: avoid !important; }
I am using <ul><li></li>....</ul>
to display data. When I found to much data then some splits between two pages. PFA image
I tried with below CSS:
ul { page-break-inside: avoid !important; }
AND
li { page-break-inside: avoid !important; }
is placed inside? wkhtmltopdf handles correctly 'page-break-inside:avoid' only for top-level elements.
– Vitaliy Fedorchenko Mar 31 '21 at 11:56