Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 655
kubal5003 Avatar asked Nov 13 '12 11:11

kubal5003


3 Answers

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

should do the trick. You can also try :

filter: none;
like image 104
Jean Avatar answered Nov 19 '22 21:11

Jean


write this in your CSS -

*{ filter: none !important; }
like image 41
Dipak Avatar answered Nov 19 '22 20:11

Dipak


You can do something like that in your head tag:

<!--[if lt IE 9]>
    <style type="text/css">
    .your-class {
        filter: none;
         }
 </style>
like image 45
Bruno Vieira Avatar answered Nov 19 '22 19:11

Bruno Vieira