1.7

Table Of Contents
Styling and formatting a Print section
The contents of a Print section can be formatted directly, or styled with Cascading Style Sheets
(CSS). See "Styling and formatting" on page186.
In order for a style sheet to be applied to a specific section, it needs to be included in that
section. There are two ways to do this.
Drag & drop a style sheet
1. Click and hold the mouse button on the style sheet on the Resources pane.
2. Move the mouse cursor within the Resources pane to the section to which the style sheet
should be applied.
3. Release the mouse button.
Using the Includes dialog
1.
On the Resources pane, right-click the section, then click Includes.
2.
From the File types dropdown, select Stylesheets.
3. Choose which CSS files should be applied to this section. The available files are listed at
the left. Use the arrow buttons to move the files that should be included to the list at the
right.
You can also change the order in which the CSS files are read. Note that moving a style
sheet up in the list gives it less weight. In case of conflicting rules, style sheets read later
will override previous ones; see "Determining the order in which style sheets are read" on
page195.
Using a PDF file as background image
In the Print context, a PDF file can be used as a section's background. It is different from the
Media in that the section considers the PDF to be content, so the number of pages in the
section will be the same as the number of pages taken from the PDF file.
With this feature it is possible to create a Print template from an arbitrary PDF file. Of course,
the PDF file itself can't be edited in a Designer template, but when it is used as a section's
background, text and other elements, such as a barcode, can be added to it.
To use a PDF file as background image:
Page 77