I am setting up a printable report, and trying to get all of my CSS, etc. correct so that it will print nicely on a page.
I am curious, though, if it's possible to somehow set up a header that will repeat at the top of every page. In other words, is there maybe some way to set an "overflow:header" or something like that in my CSS?
What I would like to do is this:
I have a header that should print at the top of every single printed page.
I then have a table that should print as many pages as it needs to until the entire table has printed on the page.
So, it should print something like this:
Code:
-------- HEADER --------------
-------- HEADER --------------
-------- HEADER --------------
-------- HEADER --------------
-------- HEADER --------------
_______________________
| |
----------------------------------
| TABLE PRINTS |
----------------------------------
| ON ALL PAGES |
----------------------------------
| THAT IT NEEDS |
----------------------------------
| |
----------------------------------
Then a new page would look like:
-------- HEADER --------------
-------- HEADER --------------
-------- HEADER --------------
-------- HEADER --------------
-------- HEADER --------------
_______________________
| |
----------------------------------
| THIS IS MORE |
----------------------------------
| OF THE TABLE |
----------------------------------
| FROM THE FIRST |
----------------------------------
| PAGE |
----------------------------------
I hope that makes sense.
Any ideas?