Thursday, September 12, 2013

Trick to prevent print content on webpage

Trick for prevent print content on webpage
In this article, i would like to explain a simple trick to prevent print content on webpage.That means if any user trying to take the print of the webpage, the webpage data will not be print on the printed page.In my previous articles i have already explained some trick based on javascript. Simple way to display information from another Website , Simple Way to create Timer using Javascript 

1. Add the following style in head section



2. Add the following code in body section

That's it.. Happy coding

Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home