I like making my HTML as semantic as possible. For this reason, if I have a table that logically needs a header and a footer, I use <thead /> and <tfoot /> respectively, which just seems to make a lot of sense:
<td colspan="2">Thanks for checking out this great table. Blah Blah, yada yada....</td>
However, when you print a table that results in multiple printed pages, the contents of <thead /> and <tfoot /> are repeated once on each page. I realize these tags were designed to do this. However, I'm wondering if there is some way (via CSS or otherwise) to specifically prevent the <tfoot /> from appearing on every printed page, and have it only print on the last one.
I'm guessing the answer is no, but maybe there is something simple I'm missing.
My alternative is to change the <tfoot /> to another <tbody /> and move it to the end of the table, but that just seems like a poor solution from a semantic HTML standpoint.
That's just the way tfoot and thead work. They will apper on every page.
You will have to go with your alternative
Rats. OK, I'll go that route. Thanks for the reply.
Sorry buddy :). And you're welcome.