FP98: Cannot Change Font Attributes of Table of Contents Component (183254)
The information in this article applies to:
- Microsoft FrontPage 98 for Windows
This article was previously published under Q183254 SYMPTOMS
Font formatting that you applied to your table of contents appears in FrontPage Editor, but it does not appear in the preview with you open the page in a Web browser.
CAUSE
FrontPage does not write the font information for the table of contents to the page. The Table of Contents component uses only heading tags (such as H1, H2, or H3). FrontPage does not apply any other font or style formatting to the list.
RESOLUTION
To work around this behavior you can use cascading style sheets (CSS) to define the styles for the heading attributes. To do this, follow these steps:
- Open the page that contains the Table of Contents component in
FrontPage Editor.
- On the Format menu, click Stylesheet.
- Place the insertion point on a line by itself between the opening
comment (<!--) tag and the closing comment (-->) tag.
- Type the heading size you specified in the Table of Contents Properties
dialog box. For example, if you specified a heading size of 2, type H2.
- Click Style. In the Style dialog box, define a style for your heading.
For example, select a font size of 36 points. Click OK.
- Place the insertion point on the next line.
- Type a.
- Click Style. In the Style dialog box, define a style for the hyperlinks.
For example, select Italic in the Font Style box. Click OK.
The Format Stylesheet dialog box should contain code similar to this:
<style>
<!--
H2 { font-size: 36pt }
a { font-style: italic }
-->
</style>
- Click OK.
NOTE: For the current page you have open, any styles you define will apply to all hyperlinks and paragraphs with the heading size you specified.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 12/1/2000 |
---|
Keywords: | kbbug KB183254 |
---|
|