Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table printing problem

Status
Not open for further replies.

aejester

Programmer
Aug 29, 2001
52
CA
Hi,

Is it possible to print a html document in such a way that if the entire table does not fit at the end of the page, it will automatically print on the next page?

If the answer to this question is NO, then is there a way to determine the printable height of the screen, so that I could figure out whether or not to start a new page or not.

Thank you for your time!
 
I know that there are ways to define CSS properties depending on the medium, for example: screen, printer, etc. However, not many browsers support that yet. Though with CSS, I don't know if that is something you could define anyway.
Good CSS reference:

As far as determining the page width and height, I don't know about that either.
 
Thank you for the link, however I found that link earlier in the day myself and the code did nothing, unless it was set to always, which would print a new page for EVERY table.

Thanx for your help anyway. Anyone else have any ideas. I think I'm going to have to find another way, this doesnt seem possible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top