I want to prevent the mouse cursor from changing when I move it over some text. Is this possible?
If not, I would like to change the appearance of text-selection
cursor - is it possible with css / javascript?
I want to prevent the mouse cursor from changing when I move it over some text. Is this possible?
If not, I would like to change the appearance of text-selection
cursor - is it possible with css / javascript?
Try this...
* {
-webkit-user-select: none;
}
*:active,
*:hover {
cursor: pointer;
}
Nobody feels like explicitly setting the cursor for each element, even if that only entails adding a class. That's a lot of hand work.
It would be wiser to:
* {
cursor: inherit;
}
body {
cursor: default;
}
This will disable the text selection cursor for any element, but won't interfere with any other CSS or scripts that change the cursor-property for certain elements.
I think you are lookings for is the css property "cursor:default;"
- but this really depends on what exactly you are looking for. Example with a label:
label{
cursor:default;
}
Depending on the cursor you want, you can change the value from "default"
to something else.
Here's a list of some of the values (Not all - but the most common are there): https://developer.mozilla.org/en-US/docs/CSS/cursor
Remember you get different results depending on browser/OS.
element. BUT, if I start to selecting text, my cursor changes anyway - in Chrome.
– Jiří Zmrhal Dec 18 '12 at 15:52