I have an IE7 specific stylesheet which applies filter:none;
I have no access to this file so can not simply remove the line. I need to somehow override it via CSS, to ignore the filter:none;
being set.
I have tried using filter:;
filter: -;
and filter: !important;
which should cause the filter attribute to be invalid, but the filter is still being set.
Is it possible to do this without removing the line in the IE7 specific stylesheet or use of javascript/jquery?
answer:
to fix my specific problem of this, it was not possible to simply override the filter
with a null
equivalent as i was asking. As an answer below suggests, it must be overridden by applying the filter directly to where i wanted to override.
IE7 Specific Stylesheet:
.div.example {
filter:none;
}
overridden by: Generic Stylesheet:
.div.example {
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F000000,endColorstr=#7F000000);
}