Thursday, November 27, 2008

Compatibility with IE-8

Hi,

This is regarding the “compatibility with IE-8”. We have two different ways to configure IE 8 to emulate/render the web site like IE 7 without any GUI & JavaScript issues.


First one using IE 8 browsers provides way to open web site exactly similar to IE 7:

To confirm that browsing in Internet Explorer 8 Standards mode is the cause of an issue, follow these steps:

  1. Open Internet Explorer 8 Beta 1.

    Note If you do not have Internet Explorer 8 Beta 1 installed, you can download it from the following Microsoft Web site:

http://www.microsoft.com/windows/products/winfamily/ie/ie8/getitnow.mspx (http://www.microsoft.com/windows/products/winfamily/ie/ie8/getitnow.mspx)

  1. Click Emulate IE 7 on the menu bar, and then close the Internet Explorer browser window.
  2. Open Internet Explorer 8 Beta 1, verify that the Emulate IE 7 button is depressed, and then visit the affected Web site.
  3. Make sure that the affected Web site is now displayed correctly.
  4. Click Emulate IE 7 to disable Internet Explorer 7 emulation, and then close the Internet Explorer browser window.
  5. Open Internet Explorer 8 Beta 1, and then visit the affected Web site to confirm that you experience the issues again after disabling Internet Explorer 7 emulation.



Second way is to use Meta-Tag:


You can use one of the following options to force Internet Explorer 8 to render Web pages like Internet Explorer 7:


· Per-site basis



Site owners and administrators can include the following custom HTTP header to force Internet Explorer 8 to render Web pages like Internet Explorer 7:


X-UA-Compatible: IE=EmulateIE7



To add a custom HTTP response header at the Web site level in Internet Information Services 7 on a Windows Server 2008-based computer, follow these steps:

    1. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
    2. Under Connections, double-click the server that you want, and then double-click Sites.
    3. Click the Web site where you want to add the custom HTTP response header.
    4. Under Web site name Home, double-click HTTP Response Headers in the IIS section.

      Note In this step, Web site name is the name of the Web site.
    5. Under Actions, click Add.
    6. In the Name box, type X-UA-Compatible.
    7. In the Value box, type IE=EmulateIE7.
    8. Click OK.

To add a custom HTTP response header at the Web site level in Internet Information Services 6 and earlier versions, follow these steps:

    1. Click Start, click Run, type inetmgr.exe, and then click OK.
    2. Expand the server that you want, and then expand Web Sites.
    3. Right-click the Web site that you want, and then click Properties.
    4. Under Custom HTTP headers, click Add.
    5. In the Custom header name box, type X-UA-Compatible.
    6. In the Custom header value box, type IE=EmulateIE7.
    7. Click OK two times.


· Per-page basis



Site owners and administrators can include the following special HTML tag after the tag on the page:



The following example shows use of this Internet Explorer 7 compatibility mode tag on a per-page basis:

  
  
  My Web Page
  

Content goes here.




· Testing your site with the meta-tag



To verify you have installed the tag correctly on your site, follow these steps:

    1. If you do not have Internet Explorer 8 Beta 1 installed, you can download it from the following Microsoft Web site:

http://www.microsoft.com/windows/products/winfamily/ie/ie8/getitnow.mspx (http://www.microsoft.com/windows/products/winfamily/ie/ie8/getitnow.mspx)

    1. Download the Internet Explorer 8 Beta 1 security update that is described in Microsoft Knowledge Base article 951804. This update adds support for the IE=EmulateIE7 tag. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

951804 (http://support.microsoft.com/kb/951804/ ) MS08-031: Security update for Internet Explorer 8 Beta 1


For more information about the EmulateIE7 tag, visit the IEBlog Web site:

http://blogs.msdn.com/ie/archive/2008/06/10/introducing-ie-emulateie7.aspx (http://blogs.msdn.com/ie/archive/2008/06/10/introducing-ie-emulateie7.aspx)

    1. Browse your site in Internet Explorer 8 Standards mode and verify you do not encounter issues described in the "Symptoms" section.


Thanks,

Paresh B

No comments:

Hello

Thanks for checking out my post...

... Paresh Bhole