Rank: Newbie Groups: Member
Joined: 3/3/2021 Posts: 2
|
Is there any option in EO to detect paragraph and keep the paragraph in single page. Paragraphs should not be split to next page Also can EO control orphans and widows using HTML to PDF converter?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, You would control this through CSS: https://www.essentialobjects.com/doc/pdf/htmltopdf/paging.aspx#manualSo for example, if you just want P element not to break into multiple pages, you can apply the following CSS style:
Code: CSS
p
{
page-break-inside:avoid;
}
If you can not modify the page to include such styles, you can apply it through this property: https://www.essentialobjects.com/doc/eo.pdf.htmltopdfoptions.userstylesheet.aspxHope this helps. Thanks
|