I want to remove this ugly red image on hover on disabled controls which appears in most browsers (Chrome, Internet Explorer etc.)
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;
}
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;
}
/* goodby the ugly cursor image on disabled inputs */
input:disabled {
cursor: default !important;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With