Layout in Print Preview Is Different from Browsing (257085)



The information in this article applies to:

  • Microsoft Internet Explorer 5.5 for Windows NT 4.0
  • Microsoft Internet Explorer 5.5 for Windows 98 Second Edition
  • Microsoft Internet Explorer 5.5 for Windows 98
  • Microsoft Internet Explorer 5.5 for Windows 95
  • Microsoft Internet Explorer 5.5 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows 98
  • Microsoft Internet Explorer version 6 for Windows 98 Second Edition
  • Microsoft Internet Explorer version 6 for Windows Millennium Edition
  • Microsoft Internet Explorer version 6 for Windows NT 4.0

This article was previously published under Q257085

SYMPTOMS

When you print or preview a Web page, the layout of the text may not be exactly the same as when you view the page in Internet Explorer.

CAUSE

This behavior can occur if the Hypertext Markup Language (HTML) code in the Web page uses specific margin settings to position elements on the page. The print and preview features do not have default margins, so the position of the elements may not be identical to the viewed page.

WORKAROUND

Web page developers can work around this issue by setting "margin=0" in the body tag of the Web page.

STATUS

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

Modification Type:MajorLast Reviewed:12/5/2003
Keywords:kbprb kbprint KB257085