Forum Moderators: open

Message Too Old, No Replies

Any way to discourage printing of this table?

I know it can't be entirely prevented!

         

Heartache

9:24 pm on Nov 3, 2005 (gmt 0)

10+ Year Member



I would like to display a table in a website that uses frames. (Yes, it is a very old website design, but it's not mine, so it's not up to me to change it.)

I can display this title in a frame or have it open in a new window, it makes no difference to me.

It would be nice if I could display this table with maximum ability to deter people from printing it out. Right now it is in HTML format, in a frame, and I've disabled right click, but as you know, there are several other ways to print it, for example, by clicking on edit at the top, select all, copy and print.

It would be good enough if I could effectively bamboozle the average web user from being able to print out a copy of this table.

Any suggestions?

Hester

10:08 pm on Nov 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Give it an ID and put this in a print stylesheet:


#id {display:none;}

Then when the user prints the page, it shouldn't show up. If that doesn't work, wrap it in a div and add the ID to that.