SV: From Browser to Print - ?????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx]På; vegne af MikeA
> Sendt: 28. januar 2005 04:24
> Til: php-windows@xxxxxxxxxxxxx
> Emne:  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
>
>

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux