Help and Support

Article ID: 217287 - Last Review: January 24, 2007 - Revision: 3.1

Absolutely Positioned Table in a Table Cell Rendered Incorrectly

This article was previously published under Q217287
Expand all | Collapse all

SYMPTOMS

Web pages that contain nested tables (a second table within a table cell) may not be rendered correctly when you are using absolute positioning for the inner table.

CAUSE

This behavior can occur if the nested (inner) table is in one of the outer table cells.

RESOLUTION

This behavior is correct according to the specifications for Cascading Style Sheets. The contents of an outer table cell inherit the settings of the cell, including such things as width. The sizing parent of a nested table is an outer table cell. Outer cells set the _sizeParent value for the contents of the cell, which forces the inner table to be rendered with the minimum width as opposed to the maximum width of the table cell.

In other words, according to the CSS specifications, the inner table width does not affect the size of the outer cell, but the size of the outer cell affect the size of the inner table width.

To work around this behavior, either change the "style=position:absolute" attribute of the nested table, or move the nested table to a different cell.

STATUS

This behavior is by design.

MORE INFORMATION

CSS2 specifications are available at the following Web site:
http://www.w3.org/TR/REC-CSS2/ (http://www.w3.org/TR/REC-CSS2/)

APPLIES TO
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 4.01 Service Pack 1
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Explorer 4.01 128-Bit Edition
  • Microsoft Internet Explorer 4.0 for UNIX
  • Microsoft Internet Explorer 4.01
Keywords: 
kbprb kbprogramming KB217287
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Article Translations

 

Related Support Centers