The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Cursor Help
Hi all,
I have a page that displays custom cursors. The user “drags” an element of the page.
The problem is, when the user drags the page, the text cursor displays.
Is there any way to get rid of this?
JSFIDDLE: http://jsfiddle.net/nTeeD/
(try dragging it around to see what i mean)
Try including this bit of css to disable text selection;
div { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
Updated demo
Thanks so much!