css media queries for print code example
Example: print media query css
@media print {
/* All your print styles go here */
#header, #footer, #nav { display: none !important; }
}
@media print {
/* All your print styles go here */
#header, #footer, #nav { display: none !important; }
}