BKWLD

 

IE 8, IE 7 and IE 6 Testing Notes

By Mark on March 6, 2008 at 5:20 pm

I installed the IE 8 beta in my Windows XP virtual machine today and now have an environment for testing IE 8, IE 7, IE 6 and IE 5.5. If you want to download the beta, here are some things to keep in mind…

  • The IE 8 install overwrites IE 7.
  • IE 8 has an Emulate IE 7 button in the toolbar.
  • Switching between IE 7 and IE 8 rendering modes requires a browser quit and relaunch.
  • If you use Multiple IE to run multiple stand-alone versions of IE, installing the beta may cause your stand-alone versions to ignore IE conditional comments.
  • Uninstalling and reinstalling Multiple IE fixes the above issue.
  • If you use the full Monte <!--[if IE]> conditional comment, IE 8 will see it and render whatever is in there.
  • I haven’t notice a real difference between IE 7 and IE 8 rendering yet. I have lots of trouble getting past the hideous anti-aliasing, though.

I think I’m fully up and running with a reasonable means to test in all versions of IE. Remember, conditional comments for your various style sheets should be linked thusly (assuming you target IE 6 and 7 together in one sheet and then IE 6 by itself in another one like I do):


<!--[if lte IE 7]><link rel="stylesheet" href="/css/ie.css" type="text/css" media="all" charset="utf-8" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" href="/css/ie6.css" type="text/css" media="all" charset="utf-8" /><![endif]-->

Remember to use the lte (less than or equal to) operator when targeting multiple versions of IE that are less than or equal to a certain version number. IE 8 passes Acid 2, so you shouldn’t need to serve it any special CSS.

4 Comments »

  1. Mark,

    Thanks for this info!

    Why do you have IE 6 & Seven share the same Stylesheets?

    Is one CSS file mostly for font rendering for IE6 & IE 7 and then one CSS file for positioning/layout for IE6 alone?

    I usually keep mine separate for IE6 & IE 7 since you can get control of elements much more easily (p:first-child) than you can with IE6. But I do end up duplicating a lot as well.

    More and more I’m kinda just not worrying as much about IE6 and letting the little things slide (as long as it works) in an effort to keep my code clean and lean. :)

    Comment by Jordan — March 7, 2008 @ 11:40 pm

  2. You guys aren’t very good about reading your comments.

    :P

    Comment by Jordan — March 12, 2008 @ 5:39 pm

  3. Thousands and look closer buy cytotec dead hand held.

    Comment by Pwhndvve — August 9, 2008 @ 8:48 am

  4. I am using Windows Vista Home Premium, and installed Internet Explorer 8 Beta 2 on my computer. IE8 Beta 2 does not have an emulate IE7 button nor can I uninstall IE8 Beta 2.

    Comment by ND2 — December 20, 2008 @ 4:14 am


RSS feed for comments on this post. | TrackBack URI

Leave a comment