How it works

Upload & Edit
Your PDF Document
Save, Download,
Print, and Share
Sign & Make
It Legally Binding
Customers love our service for intuitive functionality
Rated 4.5 out of 5 stars by our customers

How To Remove Header And Footer In Printing Using Css: What You Should Know

If you print pages, only the content of a page will be printed. If you print the content of the printed page, only the contents of the printed pages will be printed. So what we want to print are not Header and Footer, but Content from the printed page. In WebPage Object, we cannot print those (Title and URL) of printed pages. But we can print the printed pages.  Below code is showing how to remove Header and Footer (Title and URL) from printed pages, we should consider some JavaScript, which will remove the header and footer of printed page, we can run using Internet Explorer.  < HTML > < body > < HTML > < body > < a ref = "? " >< HTML > < body >  < a ref = " # " >< HTML >      < body >  < a href = " " >< html > < body >  So we cannot find the Headers and Footers in the printing code of printed HTML code. So, we can print Header and Footers (Title and URL) by following code below. < script type = " text/javascript " > ( document ). On (“ print ", function () {var ringleader =

' ; var printFooter =
; ringleader += (“

Print Header "). appended (printFooter); ringleader += ' ; printHeader += ( " # + ringleader). Text () +

; ringleader += (“ ' ); printHeader += ( " # + ringleader).

Get your PDF documents done in seconds