NYCPHP Meetup

NYPHP.org

[nycphp-talk] Report with line breaks

Tom Sartain tomsartain at gmail.com
Mon Dec 8 20:56:57 EST 2008


Are you looking for line breaks or page breaks?

Line breaks, you'll have to stick with a well placed PHP_EOL

Page breaks, you'll need to use the page-break-before page-break-after CSS
properties.There are actually a bunch of print specific CSS properties
available: http://www.w3schools.com/CSS/css_ref_print.asp

It's surprising how much control you can get over printouts with CSS.

-Tom

On Mon, Dec 8, 2008 at 6:38 PM, Néstor <rotsen at gmail.com> wrote:

> When creating a report how do you guys handle line breaks?
> When printing a  table text table cell how do you do so that part of
> text is not on one page and part on another?
>
> Thanks,
>
> Nestor:-)
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20081208/b81aa57b/attachment.html>


More information about the talk mailing list