ID: Q183254
The information in this article applies to:
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.
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.
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:
1. Open the page that contains the Table of Contents component in
FrontPage Editor.
2. On the Format menu, click Stylesheet.
3. Place the insertion point on a line by itself between the opening
comment (<!--) tag and the closing comment (-->) tag.
4. 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.
5. Click Style. In the Style dialog box, define a style for your heading.
For example, select a font size of 36 points. Click OK.
6. Place the insertion point on the next line.
7. Type "a" (without the quotation marks).
8. 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>
9. 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.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
For additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q179628
TITLE : FP98: What are Cascading Style Sheets?
ARTICLE-ID: Q180827
TITLE : FP98: How to Create Cascading Style Sheets in FrontPage 98
Additional query words: css stylesheet toc 98 font
Keywords : kbdta fpedit
Version : WINDOWS:98
Platform : WINDOWS
Hardware : x86
Issue type : kbbug
Solution Type : kbpending
Last Reviewed: July 1, 1999