Thx Miles and Jay

-----Oorspronkelijk bericht-----
Van: Miles Thompson [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 17 maart 2006 22:35
Aan: php-general@lists.php.net
Onderwerp: Re: [PHP] print page from php

At 09:57 AM 3/17/2006, Reinhart Viane wrote:

>All,
>
>I have a web page with the results from several database queries.
>Now this page has an undefined horizontal and vertical size.
>
>Does anyone know if there is a php script available that will automatically
>split the webpage into parts that can fit on an A4 page?
>
>Or do I have to set boundaries on the size of the tables the queried data
>will be shown in.
>
>Hope this makes any sense,
>
>Thanks in advance,
>
>Reinhart Viane
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php


CSS is probably the best solution
         http://www.w3.org/TR/REC-CSS2/page.html#q16
found whle googling
 
http://www.google.ca/search?hl=en&q=printing+CSS+media&btnG=Google+Search

This is a good article:
http://css-discuss.incutio.com/?page=PrintStylesheets
and as always, A List Apart has CSS Design: going to Print at 
http://www.alistapart.com/stories/goingtoprint/

I have seen examples of two-column pages, but do not know if the pages 
broke correctly when the matter was longer than one page.

Alternately, display in tables and make certain you have a <TH> so your 
header can repeat.

Hope this steers you in the right direction - Miles. 


-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to