I want to remove this ugly red image on hover on disabled controls which appears in most browsers (Chrome, Internet Explorer etc.)
Asked
Active
Viewed 3,771 times
6
-
In case of other options, except for the answer below in CSS3 context, please add answers – Denis Biondic Sep 10 '15 at 09:55
-
just in case -> FYI: http://stackoverflow.com/help/self-answer – Denis Biondic Sep 10 '15 at 09:55
3 Answers
7
If CSS3 is an option, simply use the :disabled selector and set the cursor to something else:
input[type='radio']:disabled {
cursor: default;
}
input[type='checkbox']:disabled {
cursor: default;
}

Denis Biondic
- 7,943
- 5
- 48
- 79
1
Just use this
CSS
For radio
button in disable state
input[type='radio']:disabled {
cursor: default;
}
For checkbox
in disable state
input[type='checkbox']:disabled {
cursor: default;
}

Amit singh
- 2,006
- 1
- 13
- 19
1
/* goodby the ugly cursor image on disabled inputs */
input:disabled {
cursor: default !important;
}

Sith2021
- 3,245
- 30
- 22