printing HTML tables with the header on every page

liunx

Guest
I am working on a PC and have a 22 A4 page 11 column table. I need it to print the heading on every page. Is this possible? <br />
<br />
The reason for HTML is to make it platform independant, making the document open in Excel would be limiting for users not using a Windows OS. And also means that the data can be manipulated before the print.<br />
<br />
I also looked at making separate "printer friendly" pages but the users would prefer to press the print button once instead of openening and printing 22 pages individually. <br />
<br />
Any help would be greatly appreciated.<br />
<br />
kind regards<br />
<br />
dironic<!--content-->use <thead> to define a header which is displayed on every page you print the table onto:<br />
<br />
<!-- m --><a class="postlink" href="http://htmlhelp.com/reference/html40/tables/thead.html">http://htmlhelp.com/reference/html40/tables/thead.html</a><!-- m --><!--content-->Depends on what browser your using....there is a bug in IE5.5 so only using THEAD didn't work for me. So depending on your browser, you may need to declare it a style:<br />
<br />
e.g.<br />
<br />
.printArea thead {display: table-header-group;}<!--content-->
 
Back
Top