After extensive research, I have been trying to find a solution that will enable me to print only a specific section of a webpage.
Many sources suggest the following steps:
Include in HTML head:
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
print.css
body * { display: none; }
.printable { display: block; }
Javascript
window.print();
However, despite following these instructions, I am unable to get it to work. The print window pops up, but nothing is displayed.
Feel free to visit my page which features a print link on the right-hand side.
Best regards, Shannon