Welcome to WebmasterWorld Guest from 3.92.92.168

Forum Moderators: open

Message Too Old, No Replies

Firefox Browser will not print multi-page table

Firefox Browser will not print multi-page table content

     
4:11 pm on Oct 29, 2008 (gmt 0)

New User

10+ Year Member

joined:Oct 29, 2008
posts:1
votes: 0


The problem:
Firefox printing is choking on long web page content in a multi-page table. In many of my troubleshooting sample-issues (derived from dynamic content ASP or PerL), my reports would only print one or two pages, rather than the entire document's table content (usually 7+ pages). Noticed issue after upgrading to FF v.3.x

The webmaster fix:
Determining which table is causing your content problem is the first step. Usually very obvious by the where the lengthy multi-page content begins. Because Firefox is very standards compliant, you do need to be more specific with some HTML object properties... in this case, the table attributes.
The table properties for HEIGHT and WIDTH must be added to correct printing issues for lengthy tables.
For my ASP report, I included in the table tag ...


<TABLE id="idDataTable1" HEIGHT="100%" WIDTH="100%">
...table rows/cols... and content
</TABLE>

... this resolved all of my Firefox printing issues.

Note: tested with no content formatting malformation in FF and IE.

End-user work arounds:
In Print Preview adjust your scaling to a percentage, rather than "Shrink to Fit" width. If this does not solve your issue (most times it will), then change the print orientation to landscape. I found that to fix many tabled content issues.
Worst case scenario, is Save As HTML then follow instruction for the "webmaster fix" above.

Hope this helps with your FF print issue.
<Frank_Z>

6:42 pm on Oct 29, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


The table properties for HEIGHT and WIDTH must be added to correct printing issues for lengthy tables.

Thanks for that helpful tip - and welcome to the forums!