delete header on print
Hi,
I have a php script that create html page. that I have to print.
I want to know how to delete header and footer on print.
Can you help me
Thank.
Re: delete header on print
On 27 Jan, 20:00, "Atlas informatique" <atlasinformati... [at] free.fr>
wrote:
> Hi,
> I have a php script that create html page. that I have to print.
> I want to know how to delete header and footer on print.
> Can you help me
> Thank.
Headers and Footers on printing are related to the browser and the
operating system.
Nothing to do with php or SQL I'm afraid.
Re: delete header on print
Atlas informatique wrote:
> Hi,
> I have a php script that create html page. that I have to print.
> I want to know how to delete header and footer on print.
> Can you help me
> Thank.
>
use CSS to do this
like this: (sorry might wrap)
<link rel="stylesheet" href="screen.css" type="text/css" media="screen" />
<link rel="stylesheet" href="print.css" type="text/css" media="print" />