2021.1

Table Of Contents
Warning
If you don't have a backup of the template, the only way to recover a deleted section, is to
click Undo on the Edit menu, until the deleted section is restored. After closing and
reopening the template it is no longer possible to restore the deleted context this way.
In the Saving Preferences you can set whether a backup file should be created when you
save the template; see "Save preferences" on page862.
Styling and formatting an Email template
The contents of an Email section can be formatted directly, or styled with Cascading Style
Sheets (CSS). See "Styling and formatting" on page736.
Email clients do not read CSS files and some even remove a <style> tag when it is present in
the email's header. Nevertheless, CSS files can be used with the Email context in the
Designer.
When generating output from the Email context, all CSS rules that apply to the content of the
email can be processed and added either to the header of the email or to inline style properties
as if local formatting was applied, depending on the Email section properties. See "Email
section properties" on page1006.
Tip
Before you can style an element, you have to select it. In an Email context it can be
difficult to select an element by clicking on it. Use the breadcrumbs at the top and the
Outline pane at the left, to select an element. See "Selecting an element" on page629.
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
Page 521