1.6

Table Of Contents
Each of these rules is more specific than the previous rules. All of these rules are more specific
than the rule that applies to the table as a whole.
Determining the order in which style sheets are read
For each section, the style sheets are applied in a certain order. The styles in each following
style sheet add up to the styles found in previously read style sheets. When style sheets have a
conflicting rule for the same element, class or ID, the last style sheet wins’ and overrides the
rule found in the previous style sheet.
The order in which style sheets are applied, can be changed per section:
1.
On the Resources pane, expand the Contexts folder, expand the folder of the
corresponding context and then right-click the template.
2.
Click the tab Includes.
3.
Click a CSS file and use the Up and Down buttons to change the order in which the style
sheets are read.
4.
Note: Moving a style sheet up in the list gives it less weight, because style sheets read
later will override previous ones in case of conflicting rules.
Styling text and paragraphs
There are numerous ways to format text in a template. You can apply a certain font, make text
bold, transform it to uppercase, center it, color it, etc.
This topic explains how to apply local formatting to text. It is recommended though, to format
text using style sheets; see "Styling and formatting" on page168 and "Styling templates with
CSS files" on page169.
Formatting text and paragraphs locally
An intuitive way of formatting text locally is by using the toolbar buttons: select some text, or an
element that contains text (see: "Selecting an element" on page105) and click one of the
toolbar buttons to make it bold, center it, create a numbered or bulleted list, etc.
To quickly change a paragraph into a Heading, Address or Pre element, select the paragraph
(see: "Selecting an element" on page105) and on the Format menu, select the appropriate
element.
More local formatting options are available in the Formatting dialogs; see below.
Page 177