I have a serious issue on a prod site on ie8.
On ie8, the site goes on ie7 mode and the layout breaks
Can anyone please spot what might be causing this
Thanks
I have a serious issue on a prod site on ie8.
On ie8, the site goes on ie7 mode and the layout breaks
Can anyone please spot what might be causing this
Thanks
Please try with the below code snippet. (Please make sure you have added this mata tag after head tag.)
<head>
<meta http-equiv="x-ua-compatible" content="IE=8" >
.........
.........
</head>
//OR
<head>
<meta http-equiv="X-UA-Compatible" content="EmulateIE8" />
.........
.........
</head>
//OR
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
.........
.........
</head>
web.config
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=edge" />
</customHeaders>
</httpProtocol>
</system.webServer>
Please check this link for more information.