Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.xxxcon, which comes first ob_start or session, wwwxxx/58/2010, xxxxdup, xxxxdup, mailx informatii, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, mysql feiertage, bash netcat eof, 192.168.1.41:8000

Links

XODOX
Impressum

#1: delete header on print

Posted on 2008-01-27 21:00:09 by Atlas informatique

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.

Report this message

#2: Re: delete header on print

Posted on 2008-01-28 13:21:25 by Captain Paralytic

On 27 Jan, 20:00, "Atlas informatique" <atlasinformati...@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.

Report this message

#3: Re: delete header on print

Posted on 2008-01-30 14:37:39 by geoff

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" />

Report this message