Here is the site - http://websterjoy.tk/ there in the <head> area there is a code with which I connect a separate css for ie:

<!--[if lte IE 9]> .... <![endif]-->, 

but the file in IE does not work. BUT! if you register this way:

  <!--[if IE]> .... <![endif]-->, 

then everything works! who knows the reason?

  • From which version do you go? - Gena Tsarinny

1 answer 1

 <!--[if lte IE 9]> .... <![endif]--> 

if you have IE 10+ it will not work anymore.

 <!--[if IE]> .... <![endif]--> 

For all versions of IE.

Starting with IE8, the version number sent by the browser can be changed through the Developer Tools. If browser mode is set to IE7, although IE 9 is used, it will be considered as 7th