Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: not2easy
I know that there is no fool proof way to protect your web content, but I would like to make it less convenient for people to copy and paste my articles.
Create a 1px transparent gif.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<img src="1px-transparent.gif" width="267" height="200" alt="all images copyright">
whoops you said text !
Yes use z-index. although im not giving an example as there's nothing more annoying than not being able to select a peice of text and drop it into a search engine to learn more.
If someone wants your text enough they are going to get it.
That being said, appi2 is correct, but the ability to select text starts from any text point on the page and can't be blocked by images too effectively. If you set an image's height and width to the height and width of the document, you could prevent clicks from getting to the bottom (with an appropriate z-index), but this can also interfere with such things as clicking links and accessing forms.
I know what you're thinking, Z-Index links and forms. But then you expose the body at a point where the user can click and drag, defeating the entire purpose.
So my suggestion to you is that if you do not want your content to be copied at all, the safest way is to not make a site. Abstinence, as I recall, is always the safest method.
If you were really, REALLY ansy, you could use absolute positioning, throw an image over everything, and then have all your map links go to the appropriate pages and bring focus to the appropriate elements. But srsly, it's not even worth it because they can still view your source or just, heaven forbid, type it into notepad.