THEAD not working

windows

Guest
Hi,<br />
<br />
Could someone please tell me why when I print this table from my browser (IE5.5), it doesn't display the THEAD section on the second page?? I thought thead allowed this to happen.<br />
<br />
<br />
<table border="1"><br />
<caption>THEAD TEST</caption><br />
<thead><br />
<tr><br />
<th>1</th><br />
<th>2</th><br />
<th>3</th><br />
</tr><br />
</thead><br />
<tbody><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
<tr><br />
<td>one</td><br />
<td>two</td><br />
<td>three</td><br />
</tr><br />
<tr><br />
<td>uno</td><br />
<td>dos</td><br />
<td>tres</td><br />
</tr><br />
<tr><br />
<td>otu</td><br />
<td>abuo</td><br />
<td>ato</td><br />
</tr><br />
</tbody><br />
<tfoot><br />
<tr><br />
<td>I</td><br />
<td>II</td><br />
<td>III</td><br />
</tr><br />
</tfoot><br />
</table><br />
<br />
<br />
Thanks,<br />
Allan<!--content-->Not quite sure what you mean, have you selected the correct page size, margins, when you hit print does you printer spool 2 pages or just the 1st..? does the printer ask to spool all pages..? what sort of printer are you using..?<br />
<br />
as far as i know, if the printer is setup properly the second page will spool & start where the first left off... jaeman:D<!--content-->well it would help if you wrote teh code correctly.<br />
TFOOT must appear before TBODY within a TABLE definition so that user agents can render the foot before receiving all of the (potentially numerous) rows of data<br />
that is part of the problem. also what is the caption tag?<br />
<br />
also it says it may happen, doesn't say it will happen.<!--content-->aahh...well you can blame 'Osborne - The Complete HTML Reference Third Edition' for my placing TFOOT after TBODY, Scoutt.<br />
<br />
Anyway, it seems this is a known IE5.5 bug:<br />
<!-- m --><a class="postlink" href="http://support.microsoft.com/?kbid=190278">http://support.microsoft.com/?kbid=190278</a><!-- m --><br />
<br />
thanks all,<br />
allan<!--content-->As usual run the page through <!-- m --><a class="postlink" href="http://validator.w3.org/detailed.html">http://validator.w3.org/detailed.html</a><!-- m --> for a hint as to what W3C see to be the correct interpretation, and therefore by definition where most browser interpretations are likely to be heading too (then code around it for known issues in popular browsers of the moment).<!--content-->Sorry, found the solution so thought I'd post in case anyone else has this problem.<br />
<br />
Where this is a known bug (in my case IE5.5) you must set the display property for thead and tfoot to table-header-group and table-footer-group respectively. It seems to do the trick.<br />
<br />
e.g. <br />
thead<br />
{<br />
display: table-header-group;<br />
}<br />
<br />
tfoot<br />
{<br />
display:table-footer-group;<br />
}<!--content-->Ah! Thanks for posting a solution, as that helps other people who might have this problem in the future.<!--content-->
 
Back
Top