Styles in HTML Files Are Not Displayed Correctly in Office Programs (823743)
The information in this article applies to:
SYMPTOMSWhen you open an HTML file in a Microsoft Office program such as Microsoft Word or Microsoft Excel, the styles are not applied correctly and the document is not displayed in the same way as it appears in Microsoft Internet Explorer.CAUSEThis problem occurs because styles in the HTML document are applied in the same set of tags. In the following example, the styles "red" and "white" are applied at the same time in the <th> tags: <th class="red white">White text on red</th> WORKAROUNDTo work around this problem, apply each style in sequence, as in the following example: <th class="red"><span class="white">White text on red</span></th>
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
REFERENCES
For additional information about using styles in HTML and Office, click the following article number to view the article in the Microsoft Knowledge Base:
235479
WD2000: What Are Cascading Style Sheets?
Modification Type: | Major | Last Reviewed: | 7/21/2003 |
---|
Keywords: | kbprb KB823743 kbAudEndUser |
---|
|