views:

16

answers:

1

I have a rather large table data I need to print, but when I go to Print Preview or Print, I only see what's currently visible on the page, and not the entire content of the web page.

This happens in all browser. What could be causing this?

+1  A: 

Strange, never heard of this happening. My speculation would be that you have some HTML construct in place like a container div with overflow: auto that makes the table actually span inside an element that is as tall as the viewport, instead of the whole page.

Pekka
Wouldn't that give scrollbars on the table? The whole table is visible, but only some of it prints.
Stefan Kendall
@Stefan not necessarily, the scrollbars could be those of the `div`.
Pekka
I've clicked through all the containers down to the bottom table, and Firebug lists the computed style as visible, not overflow.
Stefan Kendall
My search was not thorough. >_>
Stefan Kendall
What did you find? Pekka's solution was correct?
KatieK
Yes, it was. `overflow: auto;` had been added to fix some spacing issue (this was a bad fix), and it broke print-preview, which one of our users needed for business functionality :/.
Stefan Kendall