Removing text selection functionality…

I came across a little issue with a site that I was working on tonight where I couldn’t select any text on the page. It’s proven to be one of the more obscure CSS rules and in was extremely hard to find in the thousands of lines of CSS code.

The offending rules are as follows

::-moz-selection { text-shadow: none; } 
::selection { text-shadow: none; }

Remove these and Bam! Problem fixed. Or, you could go out of your way to add these to remove usability. Your choice….

1