0

I am using the below code to print a specific part from a Page.

<!-- CSS for the things we want to print (print view) -->
<style type="text/css" media="print">

#SCREEN_VIEW_CONTAINER{
        display: none;
    }
.other_print_layout{
        background-color:#FFF;
    }
</style>



<div id="SCREEN_VIEW_CONTAINER">
 THIS PART WILL NOT BE PRINTED
</div>

<br /> <br />


<div id="PRINT_VIEW">
   THIS PART WILL BE PRINTED
</div>

Problem is still page no , web address date shows in the print . I want to remove these . Check the attached image . I want to remove yellow parts

Want to remove yellow parts

Any idea ?

Mosarof Hossain
  • 37
  • 1
  • 2
  • 8

1 Answers1

0

On the print Dialogue :

More Settings ==> Untick Headers And Footers

enter image description here

Rainbow
  • 6,772
  • 3
  • 11
  • 28