SV: [PHP-WIN] From Browser to Print - ?????
| From: | Carsten Gehling | Date: | Fri, 28 Jan 2005 08:41:17 +0000 |
| Subject: | SV: [PHP-WIN] From Browser to Print - ????? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25471@lists.php.net to get a copy of this message | ||
You can define different style sheets based on the media that the HTML page
is rendered on:
<link rel="stylesheet" type="text/css" media="screen"
href="styles_screen.css">
<link rel="stylesheet" type="text/css" media="print"
href="styles_print.css">
Now use CSS to position your form feed as you like.
Read more here:
http://www.w3.org/TR/REC-CSS2/media.html
- Carsten
> -----Oprindelig meddelelse-----
> Fra: news [mailto:news@sea.gmane.org]På vegne af MikeA
> Sendt: 28. januar 2005 04:24
> Til: php-windows@lists.php.net
> Emne: [PHP-WIN] From Browser to Print - ?????
>
>
> I have some PHP scripts that put output to the browser. I can
> then print them. However, I want to
> have the pages form feed at specific places so the printouts look
> nice. How can I do that?
>
> Thanks.
>
> Mike
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>