Page style
We use HTML to define the default properties of a presentation template in the same way we use HTML to define the default properties of a web page.
Any valid HTML property can be set including:
- Margin sizes
- Text colors
- Background colors or images
Example
This is an example of the HTML we could enter in a presentation template to set default properties for a presentation template.
<html> <head></head> <body bgcolor="#CC0000" text="#000000" link="#6666FF" vlink="#9999FF" alink="#FF33CC"leftmargin="5" topmargin="5"> </body> </html>If the same page properties are used in more than one presentation template, they can be stored in a single text component that is itself referenced within the presentation template:
<body <component name="TextComponentName"/>>
This means that by editing a single text component, the page properties of multiple presentation templates can quickly be updated.
Use cascading style sheets
Default style properties cannot be set for components. The default page properties will override any page properties set in a component.
Cascading style sheets can be used to control the style of components. For example, We could make the links in a menu a different color to the links in a navigator using cascading style sheets to determine the style of different components.
Where possible, it is best practice to use one cascading style sheet for an entire site. A link to the style sheet should be used, rather than embedding the style sheet.
Parent: Presentation templates