kubal5003
kubal5003

Reputation: 7254

Css - Overriding Internet Explorer specific styles

I'm working on styling an e-commerce Gekosale. Unfortunately I cannot alter the existing css files (they are overwritten when user saves some settings in the admin area). Those existing css files contain IE specific styles ie.

progid:DXImageTransform.Microsoft.gradient(startColorstr='#063053', endColorstr='#395873');

I don't know how to alter them from my own file. I know how to alter every "normal" style

.class123
{
  color: red;
}

can be easily altered with:

.class123
{
  color: blue !important;
}

Can anyone tell me how to turn off IE gradients and others alike from CSS?

Upvotes: 5

Views: 2527

Answers (3)

Dipak
Dipak

Reputation: 12190

write this in your CSS -

*{ filter: none !important; }

Upvotes: 2

Bruno Vieira
Bruno Vieira

Reputation: 3904

You can do something like that in your head tag:

<!--[if lt IE 9]>
    <style type="text/css">
    .your-class {
        filter: none;
         }
 </style>

Upvotes: 1

Jean
Jean

Reputation: 772

progid:DXImageTransform.Microsoft.gradient(enabled = false) !important;

should do the trick. You can also try :

filter: none;

Upvotes: 3

Related Questions