This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Line of text split between two pages

wpcs_philip wrote on 2018-01-09:
Hello,

For the page https://www.gallowaylawfirm.com/lawyer/doris-t-bobadilla/, if you create the PDF the word 'recreation' on the right side is split between two pages. How can we solve this? The PDF generated is attached.

Thanks,

Philip
support wrote on 2018-01-10:
Hello Philip,

Please send your options used for the HTML to PDF conversion to support@pdfcrowd.com

Your url seems to be ok when used in our web form conversion.
support wrote on 2018-01-11:
Hello Philip,
?
To avoid a page break inside an element try e.g. this CSS:
ul { page-break-inside: avoid; }

-------
Our web forms run on the new version. You can try it too to see if it resolves your issue.
The new version is currently in beta and it is free to use.

You can activate access to the new API here:
-- https://pdfcrowd.com/user/account/api2-license/

You need to install the latest API client library:
-- https://pdfcrowd.com/api/#api-client-libraries

Update your code according to the new documentation because new API has somewhat different syntax:
-- https://pdfcrowd.com/api/