Home > Code > General > Compatibility view for browser IE 8

Compatibility view for browser IE 8

by Narain Siddharth   on Nov 13, 2010   Category: General   |  Views: 1186    |  Points: 25   |  Silver 

Suppose your Asp.Net application designed for IE 6 or IE 7, it may not be displayed correctly in IE 8
You can enable Compatibility view in IE 8 by adding the below code in the master page of your application.

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

or add the below code in your web.config file.
<clear />
<add name="X-UA-Compatible" value="IE=EmulateIE7" />

Post Code  |  Code Snippet Home

User Responses

No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts