A
Andrew Poulos
I can do something like
document.getElementById("btn").style.visibility = "hidden";
but is there a way to apply a style so that it only applies when the
page is being printed? I don't mean applying a style only while the page
is being printed and then removing the style when the page has finished
printing but, rather, the equivalent of
<style type="text/css" media="print">
#btn { visibility: hidden; }
</style>
Andrew Poulos
document.getElementById("btn").style.visibility = "hidden";
but is there a way to apply a style so that it only applies when the
page is being printed? I don't mean applying a style only while the page
is being printed and then removing the style when the page has finished
printing but, rather, the equivalent of
<style type="text/css" media="print">
#btn { visibility: hidden; }
</style>
Andrew Poulos