I've got the following CSS:
.class1,
.class2:hover,
.class3:disabled { color:red; }
This works in Chrome, Firefox, Safari, IE9 and IE7. Only browser that doesn't support this is IE8.
Is there a way to make it work?
Tnx
I've got the following CSS:
.class1,
.class2:hover,
.class3:disabled { color:red; }
This works in Chrome, Firefox, Safari, IE9 and IE7. Only browser that doesn't support this is IE8.
Is there a way to make it work?
Tnx
IE 8 does not support the pseudoclass :disabled
(neither does IE7) altogether. Multiple classes and :hover
are supported.
Unlike IE7, IE8 behaves correctly according to §4.1.7 and ignores the entire rule due to the fact that it cannot interpret one of the selectors.