Posted by Geoff on 01/30/08 13:37
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" />
Navigation:
[Reply to this message]
|