[thelist] Forcing Page Breaks in PHP

Atul Paul atul79 at rogers.com
Thu Jan 30 14:21:11 CST 2003


Hey.
page-break-before: always worked.

But my concern with using CSS tags is that old browsers might not support it.
I've tested it using Phoenix 0.5 (hence, mozilla is fine too) and IE 6.x.
I doubt is NS 4.x supports this tag.
Does anyone know about it?

Thanks
Atul


At 11:35 AM 30/01/2003 -0800, you wrote:
>You are talking creating a page break when printing correct?
>css has the property page-break-before or page-break-after
>you can set it like this <p STYLE="page-break-before: always"></p>
>I have also forced a page break by putting the content into a table and
>setting the table height to 900
>something like
>while ($row = mysql_fetch_array($blah)) {
>     print <table height=900>whatever</table>
>
>}
>Hope this helps
>Joe
>--
>[ Picked text/plain from multipart/alternative ]
>Hey,
>
>I am running queries that return several results. However, I just wanna
>print one result per page.
>How do I do that in PHP? eg
>
>while ($row = mysql_fetch_array($blah)) {
>    // print whatever
>    // page break
>}
>
>Is there a better way, say using CSS, that covers all browsers?
>
>Thanks
>Atul
>
>
>My Blog: http://blog.verticalinsanity.com
>
>--
>
>
>--
>* * Please support the community that supports you.  * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester
>and archives of thelist go to: http://lists.evolt.org
>Workers of the Web, evolt !
>--
>* * Please support the community that supports you.  * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester
>and archives of thelist go to: http://lists.evolt.org
>Workers of the Web, evolt !

My Blog: http://blog.verticalinsanity.com






More information about the thelist mailing list