Quote Originally Posted by soupdogg View Post
I'm looking for a way in JavaScript to be able to set the
browsers "Page Setup" properties.

I would like to be able to set the page margins.

This is needed for printing purposes and not for displaying the page in the browser.

I have a table that is 772 pixels in width that I need to
print margins set at 0 so that it fits on the paper.

Is this possible? Any other suggestions if not?

Thanks for any help,

SoupDogg
Please use following function:-

function SetMargins(ObjectID)
{
document.getElementById(ObjectID).style.marginTop ="20px";
document.getElementById(ObjectID).style.marginLeft ="40px";
}