Hi!
If you just want to prevent the person from printing the page using Ctrl-p or using the print option in the browser you can do this...
<html>
<head>
<style type="text/css">
@media print
{
.dontPrintMe
{
display : none;
}
}
</style>
</head>
<body>
<div class="dontPrintMe">
......
.............the entire page code is here........
..........................
..........................
</div>
</body
</html>
This is guaranteed to work if the person browsing is a $#!@#, else as dis1931 says, its not possible to block it.
Cheers,
Sandesh
Main Topics
Browse All Topics





by: dis1931Posted on 2004-10-14 at 19:30:06ID: 12315195
Nearly impossible, they can always screen shot it, or mirror your site using a tool such as wget or other . There is almost always a way to get around. Even copy and paste works.