Does <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> disables conditionals?

We must add conditionals for loading different js and css to fix the compatibility issues.

But I hate when the compatibility mode unfixes some things, so I read that adding this line disables that mode and so far in a site I tested worked like a charm:

<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> 

So, I read also that this disables the use of conditional tags like:

 <!--[if lt IE 7]>

Is it true?

Upvotes: 1

Views: 1881

Answers (1)

EricLaw
EricLaw

Reputation: 57075

Internet Explorer 10+ disables Conditional Comments, so if the user has IE10, then yes, the conditional comments will be ignored if you set this declaration in your markup.

Upvotes: 1

Related Questions