What specific css code that will hide the item when the page load and later show it when printing? I use window.print
function for print the html page. I only got the function to hide something when printing page.
<style type="text/css" media="print">
#dontprint {
display: none;
}
</style>
<a href="#" id="dontprint" onclick="myFunction()" > Print </a>