Forum Moderators: open

Message Too Old, No Replies

Netscape 7.2 problem - nested tables drifting in print/print preview

Netscape 7.2 nested table drift problem

         

buck1107

7:33 pm on Nov 10, 2004 (gmt 0)

10+ Year Member



I am having a problem with Netscape 7.2. I have nested tables, and the text in the inner table will not display in the print preview/print.
Here is the code:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>

<table width="400" border="1" cellpadding="0" cellspacing="0">
<tr>
<td scope="row">&nbsp;</td>
<td height="100">&nbsp;</td>
<td height="100">&nbsp;</td>
<td height="100">&nbsp;</td>
</tr>
<tr>
<td rowspan="21" valign="middle" scope="row">

<!-- Begin first nested table - this is where the text will not appear in the print preview over page breaks -->

<table border = 3 cellpadding="0" cellspacing="0">
<tr>
<td height="200"><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></td>
</tr>
<tr>
<td height="200"><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></td>
</tr>
<tr>
<td height="200"><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></td>

</tr>
</table>

<!-- End first nested table - this is where the text will not appear in the print preview over page breaks -->

</td>
<td height="100"><span>test</span></td>
<td rowspan="21" valign="middle" scope="row">

<!-- Begin second nested table - this is where the text will not appear in the print preview over page breaks -->

<table border = 3 cellpadding="0" cellspacing="0">
<tr>
<td height="200"><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></td>
</tr>
<tr>
<td height="200"><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></td>
</tr>
<tr>
<td height="200"><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></td>

</tr>
</table>

<!-- End second nested table - this is where the text will not appear in the print preview over page breaks -->

</td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
<tr>
<td height="100"><span>test</span></td>
<td height="100"><span>test</span></td>
</tr>
</table>

</body>
</html>

tedster

4:40 am on Nov 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is showing for me - on a Win98 machine.

buck1107

2:25 pm on Nov 11, 2004 (gmt 0)

10+ Year Member



Thanks,
I mis-stated what I was seeing. In NS 7.2 and Firefox 0.9.3, the inner nested tables "shift" to the bottom of the last page (in print preview).

Thanks,
buck1107

buck1107

2:43 pm on Nov 17, 2004 (gmt 0)

10+ Year Member



I've reworked the table test page - this time I've nested a parent div, with three sub divs. The odd thing here is that while all of my divs show up in the screen version, "one less" than the number of divs I have shows up in the print preview/print.

Here is how the divs are nested (this replaces the nested tables in the "table_test_a.htm" file).

Any ideas?

Thanks,
buck1107

-----------------------


<td rowspan="21" valign="middle" >

<!-- Begin first nested table - this is where the text will not appear in the print preview over page breaks -->

<div>
<div><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></div>
<div><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></div>
<div>&nbsp;</div>
<!-- <div><strong>"YES"<span class="indent_white_2">></span><br>>></strong><br></div> -->
</div>

<!-- End first nested table - this is where the text will not appear in the print preview over page breaks -->

</td>