Table Printing Issues in Firefox
Wednesday, December 12th, 2007Apparently there is an issue when printing tables that span more than one page in Firefox, and any other Gecko-based browser for that matter. I found one solution which linked to an A List Apart article. They attributed the issue to floated elements that run “past the bottom of a printed page.” I tried their solution, but it didn’t work for the table that was causing the problem. I then found the a second solution which seemed to fix the problem. So in the end, I added the following code to the print stylesheet:
/** Fix for tables longer than one printed page in Gecko-based browsers **/
table,td {
height: 100%;
}
Seeing as the second solution worked and I had other things to do, I didn’t try to figure out why the first hadn’t.