I want ie conditional comment for only ie7. Here is the following code i do it for ie7 only.
<!--[if lte IE 7]>
<link href="css/ie7.css" rel="stylesheet">
<![endif]-->
It works well on ie7 but the why the same css is working on ie8 and ie9. It should be only for ie7 right?
Is there anything am missing with the code. If yes please suggest.
Any help will be greatly appreciated.
Thanks in advance.
Use this-
Update-
If it still continues, check if your site is being rendered in compatibility mode as it is rendered as IE7