[FX.php List] [OFF] printable very wide table?

Andrew Denman adenman at tmea.org
Wed Dec 15 10:53:10 MST 2010


We've been using "page-break-after: always;" for a few years now with great success.  If all you want is a normal page break, this should work in all browsers.

Andrew Denman

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Dale Bengston
Sent: Tuesday, December 14, 2010 10:11 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] [OFF] printable very wide table?

In my experience, and I last smashed my head on this last week, css page-break attributes are not well supported by browsers. They work in Firefox and that's about it.

With HTML tables, though, I don't think you really have to worry. They break pretty reliably between rows.

Dale

On Dec 14, 2010, at 9:42 PM, Tim 'Webko' Booth wrote:

> Dear Joel,
>> 
>> That's a clever idea.  Thanks!
>> 
>> I'll be testing the CSS page-breaks once I can dive back into this project.  If it's not near-foolproof, I'll be going w/ PDFs.
> 
> Which might be interesting as well... I'm kinda intrigued now, so I fiddled with FPDF for a few minutes...
> 
> http://apachescricket.com/table_pdf_A4.php
> Is set to A4 portrait, making the table off the right edge - only prints the left hand page
> 
> http://apachescricket.com/table_pdf_custom.php
> Is set to a custom width, with the table fitting inside - also doesn't print properly...
> 
> YMMV
> 
> Webko
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list


More information about the FX.php_List mailing list