I'm working on what is basically a small utility that displays a piece of sourcecode in a table which has two columns, one for line numbers and one for the actual source.
I found that you can prevent the appearance of text being selected with the following CSS:
table th {
-moz-user-select: none;
-webkit-user-select: none;
}
Unfortunately this doesn't work. While the text appears not to be selected, if you copy and paste is will still copy it.
So is there actually a way to do this?