Internet Explorer 8 : Will the existing sites break?

Internet Explorer 8 : Will the existing sites break?

  • Comments 1

With IE 8 and strong CSS 2.1 compliance, the sites which used to run perfectly fine with IE 7 might break. The error typically could be like, formatting, alignment or JavaScript issues. This is beta and there are ways to prevent all such problems easily.

We do not have to follow the CSS 2.1 standard to be able to run it in IE 8. If your site runs on IE 7 without any issue the same will run on IE 8 with some simple effort. This has been described well in the KB Article # 952030.

Option 1:

In IIS you can add the following header info,

X-UA-Compatible: IE=EmulateIE7

Option 2:

In the web.config under configuration section you can add  add,

<system.webServer>

  <httpProtocol>

    <customHeaders>

      <clear />

      <add name="X-UA-Compatible" value="IE=EmulateIE7" />

  </customHeaders>

  </httpProtocol>

</system.webServer>

 

Option 3:

You can modify a single page by adding meta tag,

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

    <title>Untitled Page</title>

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

</head>

<body>

    <form id="form1" runat="server">

    <div>

       

    </div>

    </form>

</body>

</html>

Find more on Microsoft's Interoperability Principles and IE8.

Namoskar!!!

Leave a Comment
  • Please add 5 and 4 and type the answer here:
  • Post