Tuesday, May 27, 2008

Print a page

//Give the link in the html page to print
//On clicking, the entire page is printed

How to eliminate the unnecessary things from printing?
// Declare the style in a style sheet
.noprint
{
DISPLAY: none
}

//include the external style sheet in the page

//Put the div tags with class=”noprint” in the page wherever required

No comments: