6

I want to remove this ugly red image on hover on disabled controls which appears in most browsers (Chrome, Internet Explorer etc.)

enter image description here

Denis Biondic
  • 7,943
  • 5
  • 48
  • 79

3 Answers3

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