How to print or save a div’s content as PDF

Printing or saving a webpage as PDF can usually be done via the browsers printing functionality. To define the printing layout and styling you can use a print.css or some styles in a print media query. But what about printing only the contents of a specific element on a webpage? By using the print.css oder

Read more