HOWTO: Force IE 7 rendering in IE 8

If you haven’t checked how your web­site looks like in Inter­net Explorer 8 this might be the time to do that, lat­est ver­sion of  Microsoft’s browser have slightly dif­fer­ent engine which can cause your site to be unus­able. This code shows how to force Inter­net Explorer 8 to act like Inter­net Explorer 7 which reduces the amount of css and html tweaks you may need to add in order to have cross browser website.

code:

Add this code to head ele­ment of your html page


<meta http-equiv="X-UA-Compatible" content="IE=7" />
Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • LinkedIn
  • StumbleUpon
  • Technorati
  • Live
  • PDF

Tags: HTML

3 comments

  1. You do know that your code dis­play pre­vents me from see­ing what goes in the “con­tent” attribute?

  2. Yep, this is how the code plu­gin works. To view the code please click on the “<>” icon that blocks the content.

Leave a comment