Microsoft KB Archive/165406

= WD97: HTML Page w/Style Tag Doesn't Display in Internet Explorer =

Article ID: 165406

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q165406



SYMPTOMS
When you save a Word 97 document that contains a style () tag using the Hypertext Markup Language (HTML) converter, the contents of the page may be not visible when you view the page using Microsoft Internet Explorer version 3.0x. The page may be displayed correctly in other Web browsers.



CAUSE
When Word converts the document to HTML, it adds a space inside the closing style tag  between the tag name and the closing bracket. Internet Explorer does not interpret the tag correctly.



WORKAROUND
To correct the problem, remove the space from the closing style tag:  Start Word, and open your HTML document. On the View menu, click HTML Source. Find the closing style tag. It looks like this:



NOTE: The space appears between the tag name and the closing bracket. Delete the space so that the tag looks like this:



</li> On the HTML toolbar, click Exit HTML Source. When you are asked to save changes, click Yes.</li></ol>

You will now be able to see the page in Microsoft Internet Explorer 3.0x. If you use Word to make additional changes to the HTML document, then when you save the file, Word will save the </Style> tag incorrectly.

<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
The  element in the HTML language is used to link to style sheet information. Style sheets allow you to separate presentation definitions from content in HTML documents. Style sheets are very similar to the templates used in Microsoft Word.

Additional query words: 97 8.0

Keywords: kbinterop kbprb KB165406

-

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

© Microsoft Corporation. All rights reserved.