have a look at the @page spec in the css docs at w3c.org

I use this for A4 paper, you can set the margins as well:

@page{
  size : "21.0cm 29.7cm ";
 }

Paul Roberts
[EMAIL PROTECTED]
++++++++++++++++++++++++
----- Original Message ----- 
From: "Martin Towell" <[EMAIL PROTECTED]>
To: "'Manuel'" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 1:57 AM
Subject: RE: [PHP] Printer margins


You can't change this type of setting on a client's browser
The only way you'd be able to do this is to tell the user that the page
prints best when margins are set to 0.25"

-----Original Message-----
From: Manuel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 10:52 AM
To: PHP General
Subject: [PHP] Printer margins


I'm creating an HTML file that will be printed by my website users. I've
notices that most browser have the default print margins set to 0.75". Is
there any way to change the print margins to 0.25"?


---------------------------------
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes

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





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

Reply via email to