You can provide a separate css file for printing so that you can determine exactly what is visible and what is not when printing. eg,
<link rel="stylesheet" media="print" type="text/css" href="printStyle.css">
Without a specific css file, most browsers will simply use the css file for printing. A.
source
share