Let\'s say that I have
Title
Printing content
You need media query for switching between print and screen option
@media screen { /* for screen option*/
p {
font-family: verdana, sans-serif;
font-size: 17px;
}
}
@media print { /* for print option*/
p {
font-family: georgia, serif;
font-size: 14px;
color: blue;
}
}
http://www.w3schools.com/css/css_mediatypes.asp
I think the best solution would be to create a wrapper around the non-printable stuff:
<head>
<style type="text/css">
#printable { display: none; }
@media print
{
#non-printable { display: none; }
#printable { display: block; }
}
</style>
</head>
<body>
<div id="non-printable">
Your normal page contents
</div>
<div id="printable">
Printer version
</div>
</body>