FP: Converted Word Document Ignores Heading Style Tags

Last reviewed: January 12, 1998
Article ID: Q161526
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack

SYMPTOMS

In the FrontPage Editor, when you open a document that was created in Microsoft Word, the format of the converted text is unchanged when you change the properties of the style tag.

CAUSE

When a document that is formatted in a font other than the default HTML font (12-point Times Roman) is converted by FrontPage Editor to HTML, the text is enclosed within <font> tags, as in the following example:

   <font face=Arial size=10>text</font>

If you apply style formatting to text, the text will be enclosed within a heading tag. For example, if you apply the Heading 1 style formatting to a selection, the text will be enclosed in the <H1>...</H1> tags, like this:

     <H1><font face=Arial size=10>text</font></H1>

If the font tags are nested inside the heading tags, the style tags will be ignored.

By default, Microsoft Word for Windows 95 uses 10-point Times New Roman as its default font. As a result, this can present a significant problem when you convert documents from Word.

WORKAROUND

If you want to apply HTML styles to a converted Word document, follow these steps:

  1. Select the text.

  2. In the Style box on the Formatting toolbar, click Normal.

  3. On the Format menu, click Font. In the Font box, select Times New Roman (or the desired font). Click OK.

MORE INFROMATION

When the Microsoft Word to HTML converter translates a Microsoft Word document to HTML, the font tags are added to each paragraph so that the Word document will look the same in a browser as it does in the Word program.

For information about the HTML markup language, see the HTML specification at the following World Wide Web site:

   http://www.w3.org/MarkUp/


Additional query words: fp97 fp98 word
Keywords : kbinterop
Version : windows:97,98
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 12, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.