Welcome to WebmasterWorld Guest from 3.209.80.87

Forum Moderators: open

Message Too Old, No Replies

Firefox table printing problems

FireFox print view truncates long tables

     
10:14 pm on Nov 9, 2006 (gmt 0)

New User

10+ Year Member

joined:Nov 9, 2006
posts:1
votes: 0


I have a CGI application that analyzes input files and outputs data in tables so that users can print it, using formatting supplied by a CSS 2 style sheet. Both the HTML and the CSS have been validated.

The output is fine as long as the table is not long enough to extend beyond one page. If the table is longer than a page, FireFox 2.0 truncates it. Mozilla 1.7 behaves the same way. I have tried both browsers on Windows XP and Solaris platforms, with identical results. I can't say whether FireFox 1.5 had the same problem, because I upgraded before I started outputting large tables.

The same issue seems to have been brought up before (by Mr. Simon Wheatley on 17 June 2005), but I see no replies. It looks like this has never been fixed or, if it has, old behavior has slipped back into FireFox 2.0.

Anyone else see this or have a fix?

Thanks.

7:14 pm on Nov 11, 2006 (gmt 0)

Senior Member from CA 

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

joined:Aug 31, 2003
posts:9074
votes: 6


Welcome to WebmasterWorld Lisle!

I've been aware of this bug for a while, it was certainly present in both Firefox 1.0 and 1.5. It seems very unfortunate that it could not be fixed in Firefox 2.0.

You can try controlling the page margins and page breaks with CSS. I've not tested whether this would help solve this particular cut-off problem, but the following thread from our CSS forum might give you some pointers:

[webmasterworld.com...]

Basically, if you can divide your table into smaller tables which will fit on a standard page, you might be about to work around the issue. :)