Microsoft KB Archive/183254

= FP98: Cannot Change Font Attributes of Table of Contents Component =

Article ID: 183254

Article Last Modified on 12/1/2000

-

APPLIES TO


 * Microsoft FrontPage 98 Standard Edition

-



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. 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.</li> Type a .</li>  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: </li> Click OK.</li></ol>

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.

<div class="status_section">

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
For additional information, please see the following article in the Microsoft Knowledge Base:

179628 FP98: What are Cascading Style Sheets?

180827 FP98: How to Create Cascading Style Sheets in FrontPage 98

Additional query words: css stylesheet toc 98 font

Keywords: kbbug kbpending KB183254

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.