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.
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.
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”.
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.
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.
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!
You can now login with the username “IE User” and the password “Password1“.
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!
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.
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.
Having problems following this guide? Tweet now or forever hold your forever hold your peace.