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.

Tables are displayed incorrectly in HTML pages in Internet Explorer 8


View products that this article applies to.

Symptoms

When you view an HTML page that contains tables in Windows Internet Explorer 8, you find that there are several columns missing. However, the tables are displayed correctly in Windows Internet Explorer 7.

↑ Back to the top


Cause

This issue occurs because document compatibility for Internet Explorer 8 is set to Internet Explorer 7 Standards mode. This mode is the default setting. This issue does not occur when document compatibility is set to Internet Explorer 8 Standards mode.

↑ Back to the top


Resolution

Security update information

To resolve this problem, install the most current cumulative security update for Internet Explorer. To install the most current updates, visit the following Microsoft Web site:
For more technical information about the most current cumulative security update for Internet Explorer, visit the following Microsoft Web site:
Note This update was first included in security update 978207 (MS10-002). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
978207 MS10-002: Cumulative security update for Internet Explorer

↑ Back to the top


More information

For more information about document compatibility in Internet Explorer 8, visit the following Microsoft Developer Network (MSDN) Web site:

How to reproduce the problem

Consider the following sample page:
<HTML><TABLE WIDTH="100%" border=1 cellSpacing=0 cellPadding=0>
<COLGROUP>
  <COL>
  <COL>
  <COL>
  <COL style="WIDTH: 50%">
  <COL style="WIDTH: 50%">
</COLGROUP>
<TBODY>
  <TR>
    <TD colSpan=5 ></TD>
  </TR>
  <TR>
    <TD>1</TD>
    <TD style="padding:6px;">2<INPUT style="position:absolute;top:-7000" value=2 /></TD>
    <TD style="padding:6px;">3 Long long long long text</TD>
    <TD style="padding:6px;">
      <TABLE style="table-layout:fixed"><TBODY><TR><TD>4</TD></TR></TBODY></TABLE>
    </TD>
    <TD style="padding:6px;">
      <TABLE style="table-layout:fixed"><TBODY><TR><TD>5</TD></TR></TBODY></TABLE>
    </TD>
  </TR>
</TBODY></TABLE></HTML>
Save this source as an .html file, and then open the file in Internet Explorer 8. Although the table in the source has five columns, you see only three columns. However, if you open the file in Internet Explorer 7, you see all five columns.

↑ Back to the top


Keywords: KB975170, kbqfe, kbsurveynew, kbexpertiseinter, kbbug, kbprb, atdownload

↑ Back to the top

Article Info
Article ID : 975170
Revision : 2
Created on : 10/13/2009
Published on : 10/13/2009
Exists online : False
Views : 371