Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Cannot Print or Preview HTML Document Correctly


Symptoms

When you print or preview an HTML document, the document may not appear to be correct, and page breaks may be computed incorrectly.

This behavior does not occur with Internet Explorer 5.01.

↑ Back to the top


Cause

This issue can occur with an HTML document that uses a specific sequence of tags (<IFRAME> followed by a <SPAN> block with a STYLE="WIDTH:xxx" attribute) and contains tables.

↑ Back to the top


Workaround

To work around this issue, use any of the following methods:
  • Replace the <SPAN> tag with a <DIV> tag.
  • Add a <BR> tag after the </IFRAME> tag.
  • Add a <H1> tag followed by a </H1> tag after the </IFRAME> tag.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Article Info
Article ID : 284274
Revision : 4
Created on : 1/1/0001
Published on : 1/1/0001
Exists online : False
Views : 152