标签云

微信群

扫码加入我们

WeChat QR Code

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.


the simplicity and power of CSS XD

2018年08月15日26分20秒

One more thing... why there are 5 lines :S ???

2018年08月15日26分20秒

One for each browser engine (Chrome,Safari = webkit, Chrome 1.0 = khtml, Firefox = moz, Opera = o) and one for those who implement the CSS3 spec correctly.

2018年08月15日26分20秒

Tom -So the last one is obsolete ? :)

2018年08月15日26分20秒