Is there a way for the mouse to completely ignore the html element?

Possible duplicate:
CSS rule to disable text selection highlighting

On my homepage, I have a script that shows the clock at the top of my homepage. I do not like the fact that I can select this watch with the mouse, see Figure.

So, I want to know if there is a way to completely exclude the html element with the mouse.

+5
source share
1 answer

CSS can do this.

-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
+14
source

All Articles