Reputation: 37058
I'm trying to turn off user-select, and I'm using the following comprehensive CSS:
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
For firefox and chrome, works perfectly. In IE9, however, the inspector tells me that it simply doesn't see those lines of CSS. It's taking all the other CSS out of the exact same set-- the other style rules for that element are all there-- it's just ignoring these lines completely!!
Why won't IE9 detect my user-select controls??
Upvotes: 2
Views: 1314
Reputation: 37058
Essentially, in IE versions preceding IE10, you can't use that CSS. You have to manually apply an unselectable="on"
attribute to all the divs you wish to make unselectable.
See the second highest answer to this question for more info.
Upvotes: 2