A
Andrew Poulos
To set an item's style properties I can do something like this:
var foo = document.getElementById("bar");
bar.style.width = "100px";
But how do I set the style of paged media i.e. the @page rule?
Specifically I need to set this CSS:
@page {
size: landscape;
margin: 10%;
}
Andrew Poulos
var foo = document.getElementById("bar");
bar.style.width = "100px";
But how do I set the style of paged media i.e. the @page rule?
Specifically I need to set this CSS:
@page {
size: landscape;
margin: 10%;
}
Andrew Poulos