PDA

View Full Version : questions regearding the printing in browsers


sinan_zhou
08-27-2002, 09:26 PM
I tried to control the margin of printed page from the browser. Here is the problem I met: I use the CSS page directive and set up the margin to 0.5 inches, it does not work. The code I used in style sheets is:

@page {margin: .5in;}

and it's syntax published in w3c document. I do not know which part I was wrong.

My second question: is that possible I can control not to print the header and footer part of the document in the browsers? I did not see any document regarding this issue.

Thanks!

mouse
08-27-2002, 10:09 PM
Maybe this will work:

@page {margin:0.5in; size:auto}


Not sure about the header/footer thing, I'm guessing it's down to the users browser/print settings.