In IE, how do I remove a filter?
I have a class
.tab{filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5ffff', endColorstr='#e8f2f8');}
and when one of the tabs is selected I want to remove the filter:
.tab.selectedtab{/*what do I put here to remove the filter?*/}
Solution 1:
The answer is to set the enabled property of the filter like so:
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
Solution 2:
I've only tried this in IE8, but it seems to do the trick:
filter: none;