2021.2

Table Of Contents
l Select the element (see "Selecting an element" on page638).
l On the Format menu, select the respective element to open the Formatting dialog.
l In the Breaks group, set the inside property to avoid, to prevent a page break inside the
element. For an explanation of all available options of the page-break-inside property in
CSS, see CSS page-break-inside property.
Alternatively you could set this property on the Source tab in the HTML (for example: <ul
style="page-break-inside: avoid;">), or add a rule to the style sheet; see "Styling your
templates with CSS files" on page751.
Adding blank pages to a section
How to add a blank page to a section is described in a how-to: Create blank page on field
value.
Master Pages
In Print sections, there are often elements that need to be repeated across pages, like headers,
footers and logos. In addition, some elements should appear only on specific pages, such as
only the first page, or the last page, or only on pages in-between. Examples are a different
header on the first page, and a tear-off slip that shows up on the last page.
This is what Master Pages are used for. Master Pages can only be used in the Print context
(see "Print context" on page483).
Master Pages resemble Print sections, and they are edited in much the same way (see "Editing
a Master Page" on the next page) but they contain a single page and do not have any text flow.
Only one Master Page can be applied per page in printed output. Then a Print template is
created, one master page is added to it automatically. You can add more Master Pages; see
"Adding a Master Page" on the next page. Initially, the original Master Page will be applied to
all pages, but different Master Pages can be applied to different pages; see "Applying a Master
Page to a page in a Print section" on page508.
Examples
There are a few How-tos that demonstrate the use of Master Pages:
l Showing a Terms and Conditions on the back of the first page only.
l A tear-off section on the first page of an invoice.
Page 506