TechNote 10007: Creating and using a topic style with content
A topic style is a set of characteristics that you use to control the appearance
of a topic. Topic styles include properties for colors, margins,
background images and Cascading Style Sheets, plus more. Topic styles can
also contain HTML content, which can be inherited by any topic when you apply
the style, called Topic Style content.
Thus, by using topic styles, you can create a standard layout across your
project.
To create a topic style
A topic style must first be created before you can create content associated
with it.
- In the Project Manager, go to the Topic Styles tab.
- Select the Normal topic style.
- Select the Insert | Child Topic Style menu command which will create
a new topic style as a child of the currently selected style. The new
child inherits all the settings of its parent.
- In the edit box that is displayed, type the name you wish to apply to the
topic style.
To create content associated with the topic style
Before content can be used by child topics you should create an editable region,
which allows each topic using the topic style to specify its own content, specific
to that topic.
- Double click on the new topic style.
- Add any content you wish to be consistent across all topics using this
style.
- Click in the area where each topic will have their own content.
- Select Format | Editable Regions | New.
- Type the unique name to apply to this new editable region.
- Click OK.
To apply the topic style to a topic
- Go to the Project Manager, Contents tab.
- Select the topic you wish to apply the topic style to.
- Select Project | Properties.
- Select the Style tab.
- Select the new topic style.
|