When generating PDFs in the GetAccept Editor, page breaks follow specific rules to ensure documents remain well-structured and visually appealing. This article explains how the system handles page breaks and what elements are prioritized for better formatting.
Page Break Behavior in PDF Rendering
The GetAccept editor applies CSS rules to determine where page breaks should ideally occur. These rules help optimize readability while preventing elements from being split awkwardly across pages.
Elements That Avoid Page Breaks
Certain elements are designed to stay together on the same page whenever possible:
Images – GetAccept attempts to keep images intact without splitting them.
Tables – Individual rows are set to avoid breaking across pages.
Headings (H1-H6) – Headings are kept with their following content to maintain logical flow.
Pricing tables – Product rows are grouped together to preserve clarity.
Form elements – Input fields and labels remain as a unit to avoid confusion.
Column layouts – Content in multi-column sections tries to stay on the same page.
Side-by-side content – Elements like images and accompanying text attempt to remain together.
Likely Page Break Points
Despite the system’s efforts to maintain structure, some areas are more prone to page breaks:
Between pricing groups – Different pricing tables may be split across pages.
Within text containers – Long text blocks may break naturally when needed, but the system prioritizes keeping headings with at least the first paragraph.
Page Break Priorities
To ensure consistency, GetAccept follows these priorities when handling page breaks:
Headers and their content – A heading is kept with at least its first paragraph.
Pricing table headers and rows – Pricing table headers stay with at least the first row of data.
Signature lines – Signature sections are treated as a unit, discouraging page breaks within them.
By understanding these rules, you can better format your documents and anticipate how page breaks will occur in your GetAccept-generated PDFs. If you experience unexpected page breaks, consider adjusting content layout or reducing large elements to improve the flow.