Can I control printer property margins using css

I am not sure if this is possible but I wanted to see if I can control the printer margins set in the printer properties. I would like to make it so everytime someone prints my webpage there are 0 margins all the way around...

I know I can set the topmargin="0" and so on, but when it prints the printer defaults to the margin that is set in the printer properties. I wanted to see if there is a script to adjust those properties on the computer that is printing the page.
brad0525Asked:
Who is Participating?
 
David S.Connect With a Mentor Commented:
As far as I know, only Opera supports that CSS2 feature (http://www.w3.org/TR/CSS21/page.html#page-box).

Most users will have to configure that manually, if they care.
0
 
Jason C. LevineNo oneCommented:
>> I would like to make it so everytime someone prints my webpage there are 0 margins all
>> the way around...

What happens if you have this in the print CSS:

*, html, body {
    margin: 0;
    padding: 0;
}
0
All Courses

From novice to tech pro — start learning today.