BUG: Internet Explorer 5.5 May Not Print Table Beyond First Page (299446)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 5.5

This article was previously published under Q299446

SYMPTOMS

When you print a multipage Web page that contains nested tables, only the first page may print.

CAUSE

Internet Explorer fails to render correctly if the table contains nested tables in which the height of the inner table is specified, but the height of the outer table is not specified.

RESOLUTION

Specify a height attribute for the outer table.

STATUS

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

MORE INFORMATION

The CSS 2 specifications state that the height should automatically be computed if the inner block element specifies the height but a containing block element does not.

Steps to Reproduce Behavior

The following table fails to print beyond the first page unless a height attribute is specified for the outer table.
<HTML>
<BODY>
<TABLE>
	<TR>
		<TD>
			<TABLE height="100%">
				<TR>
					<TD>
						1<br><br><br><br><br><br><br><br><br><br><br><br>
						2<br><br><br><br><br><br><br><br><br><br><br><br>
						3<br><br><br><br><br><br><br><br><br><br><br><br>
						4<br><br><br><br><br><br><br><br><br><br><br><br>
						5<br><br><br><br><br><br><br><br><br><br><br><br>
						6<br><br><br><br><br><br><br><br><br><br><br><br>
						1<br><br><br><br><br><br><br><br><br><br><br><br>
						2<br><br><br><br><br><br><br><br><br><br><br><br>
						3<br><br><br><br><br><br><br><br><br><br><br><br>
						4<br><br><br><br><br><br><br><br><br><br><br><br>
						5<br><br><br><br><br><br><br><br><br><br><br><br>
						6<br><br><br><br><br><br><br><br><br><br><br><br>
					</td>
				</tr>
			</TABLE>
		</TD>
	</TR>
</TABLE>
</BODY>
</HTML>
				

REFERENCES

For more information, see the following Web site: For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:

Modification Type:MajorLast Reviewed:5/11/2006
Keywords:kbbug kbDHTML kbnofix kbprint KB299446