Re: Controlling page margins



In article <WqqJg.3804$bM.2590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Russell Campbell" <nospam@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
"Nikita the Spider" <NikitaTheSpider@xxxxxxxxx> wrote in message
news:NikitaTheSpider-

Hi Russell,
Have you tried this?

@media print {
body {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
width: 100%;
}
}


I'm not sure this will help, even if IE 6 handled it properly. Is this
going to make the printer start printing at the very edge of the page with
the 0px value (which most laser printers can't do, anyway)? What I need is
to tell the printer to use about a 1/4 inch margin, which most laser
printers can do. I think the main problem right now is IE's poor support of
CSS2.

Well, if IE understands that, it's pretty easy to adjust it to whatever
you want. 1pt = 1/72 of an inch, 25/72 = .35, so .35pt might get you the
margins of 1/4 inch. I don't remember if that works under IE or not; I
wrote that CSS a long time ago. Why not try it and report back to us?

BTW, as with (many) others in the group, I find top posting pretty hard
to read too.

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
.