HOWTO: Develop printer-friendly pages using CSS
The easiest way to provide Print functionality for your web-pages and removing the unwanted portions is by building the design of the page using CSS. The trick is to just set the DISPLAY property for a class to the value none and set the value of the media attribute of the link tag to print.
Example -
.navStuff
Example -
.navStuff
{
DISPLAY: none
}
<link rel="stylesheet" media="print" type="text/css" href="print.css">4guys... has an interesting article on this
Comments
Post a Comment