We’re constantly deploying new features to Copify.
Some are small updates that users are unlikely to notice. Others, where changes to the user interface are involved, require a bit more care and attention to make sure things are hunky-dory when it comes to cross-browser compatibility.
Let’s face it – the Internet is a mess. There are so many different browsers and devices, ensuring that your web-app works on all of them can be a bit of a minefield.
Thankfully, most modern browsers play nice, and all render HTML & CSS pretty much the same way.
Oh wait, no. They don’t. Do they, Bill?
Many agencies and web developers have fought hard for a long time to “convert” as many people as possible away from Internet Explorer, and with recent stats on browser usage it looks like it’s not all been in vain.
However, we still have a significant number of visitors using older versions of Internet Explorer (mainly IE6 and IE7) causing us headaches. One of the biggest headaches is testing.
If you’re on a Mac, or running Windows 7, you can’t just download IE6 and see how your site looks. You’re going to need XP.
In this post I’m going to show you how we use a virtual machine to test these older pesky browsers.
All you need is Windows 7 and a few gig disk space going spare.
Ready? You were born ready!
Windows Virtual PC
Head over to Microsoft’s website and download Windows Virtual PC. You don’t need “XP mode” so you can skip this if you like, just make sure that you select the correct version of Virtual PC for your machine and operating system.
Make sure you get the correct version 32bit V 64bit
Once the download has finished, have a bash at installing. You’ll figure it out.
Windows Virtual PC VHD
Next, you need to download the Windows Virtual disk image to run.
I need to test IE6 and IE7 on Windows XP so I download the package called “Windows_XP_IE6.exe”.
Take the mouse in your hand and click the thing that says “Download”
The disk image comes with Windows XP and IE6, and also the installation files for IE7.
However, once you’ve installed IE7 you can’t run IE6 again. So make a copy of the first image, rename it and use this for IE7.
Make a copy if you need to use both IE6 and IE7 regularly
Fire up Windows Virtual PC
First off, select which image you want to run.
Right click on the Windows XP VMC and enter “Settings“. From here you can choose which image to use. Change the setting for “Hard Disk 1″ and browse for your disk image.
Choose which disk image to run
As with many Microsoft products, there is some kind of annoying, inexplicable problem with its use. In this case, it’s the fact you are presented with an impenetrable login form.
To get round this, choose “Disable Integration Features”. No idea what this does, but it gets you to login screen that works!
Disable this to get to the normal login
You can now login with the username “IE User” and the password “Password1“.
Password is case sensitive! Bless.
You’ve now traveled back in time and are about to experience the wonders of 1990′s web browsing. I suggest playing some classic Nineties pop tunes while you test to get the the full effect.
OK let’s Brogram this Mother until all the horribleness is gone. Done? Great!
Probably losing £££s because of this, but it’s too funny to care
We’ve made our fixes to ensure IE6 users get the best browsing experience, and we’re now ready to do the same for IE7.
If you never wish to use IE6 ever again in your life (highly likely) then just run the IE7 install.
Unfortunately for me I may have to revisit good ol’ IE6, so I just reconfigure Virtual Machine to use the image copy I made earlier. I’ve renamed them so I know which is which.
Choose the IE7 image this time
Again, work your magic and fix all the nasty codez with some CSS hacks.
If like us, you’re using Git (What? You’re not using Git? Why not?) this is a good time to commit your changes and wave and scream at your boss, hinting you’ve made your website look great for pensioners and public sector workers across the country.
Commit your changes. Feels good.
Having problems following this guide? Tweet now or forever hold your forever hold your peace.