# Printing Table across pages

**URL:** https://forum.kirupa.com/t/printing-table-across-pages/237807
**Category:** web dev
**Created:** [September 4, 2007, 7:57am UTC](https://forum.kirupa.com/t/printing-table-across-pages/237807 "2007-09-04T07:57:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GCave](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@GCave](https://forum.kirupa.com/u/GCave)
#### Post date: [September 4, 2007, 7:57am UTC](https://forum.kirupa.com/t/printing-table-across-pages/237807/1 "2007-09-04T07:57:51Z")

</div>

Hello!

I’ve got a problem trying to format a very long table that contains many rows of information for printing. Using IE6, I added a \<thead\> at the top of the table, with the style tag display: table-header-group and this results in the table printing across each page with the header rows added to each page.

However, the top and bottom borders NEVER print properly - I think because it breaks the page in the middle of the bottom cell of each page. How can I get it to print the border across the top and bottom of the table on each page?? I played around with ridiculously thick borders / adjusting the border etc… but it didn’t work. I also tried applying a page-break-inside: avoid style to each \<tr\>, but either IE6 won’t recognise that, or as the W3C spec says it shouldn’t be used inside tables.

Any help really appreciated! Thanks

George 🙂
