Is there a way for mouse to completely ignore an html element?
Possible Duplicate:
css rule to disable text selection highlighting
On my homepage i have a script, which shows a clock at the top of my homepage. I dont like the fact that i can choose this clock with my mouse, see the picture.
So i want to know if there is a way to completely prevent an html element from being selected by the mouse.
CSS可以做到这一点。
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
链接地址: http://www.djcxy.com/p/7124.html
上一篇: 如何使U1列表项无法选择