Detecting Internet Explorer 7 and 6

Published on Jan 30, 2007   //  Development

IE7

Okay so your starting to get users that are using Internet Explorer (IE) version 7. Guess what? They may have some problems with your site!

If you have not downloaded it you may want to and view your site using IE7 to be sure there are no issues.

We noticed some sites with issues and have a recommended fix using JavaScript. You can add this into JavaScript:

if (typeof document.body.style.maxHeight != “undefined”) {
  // IE 7, mozilla, safari, opera 9
} else {
  // IE6, older browsers
}

If you do install IE 7 note that it will remove IE6. You can install the IE6 standalone version here.

2 Comments to “Detecting Internet Explorer 7 and 6”

  • You might want to note that using one of those “hacks” to run IE6 alongside IE7 is not supported nor recommended by Microsoft. Microsoft recommends doing it this way.

  • what exactly is the problem??? something to do with it not accepting css?