note4

Monday, January 28, 2019

12:04 AM
    <SCRIPT>
        function print_window(){
        window.print();
        setTimeout(function () {
        window.open('', '_self', '');
        window.close();
        }, 100);
        }
    </SCRIPT>
  </HEAD>
  <div class="theader"> 
<img src="test.png" width="100%" height="40" style="
    position: fixed;
    top: 157px;
    z-index: -1;
    right: 0;


">
</div>
  <style>
.theader{
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
    max-width: 945px;
   background-color:#FFFFFF;
   color: black;
   text-align: center;
}

@media print {
    .hideOnprint {
        display: none;
    }
    .hideOnScreen {
        display: block;
    }
}
@media screen {
    .theader {
        display: block;
    }
    .theader {
        display: none;
    }
}


</style>



  <BODY class style="background-color:white;" onLoad="print_window();" xttag_0="{$bodyattrs}" page-preview>
    {BEGIN body}

0 comments: