
How to use Internet Explorer 8 to test sites in IE6 and IE7
- Transfer
SelenIT, now blocked by the Habrauser, already wrote about something like this. But Australian developer Elbert F. offers a new way to test the site "in IE6" using a piece of PHP code.
Personally, I don’t really care how my sites look like in IE6, 7 or 8. If I suddenly want to see this, I have a magic button . And for those who are worried, there are ways to test the site in these browsers.
If you have Windows XP or an earlier version, you can use the standalone version of IE6 . If you have Windows 7 (non-beta), you can use Microsoft's free IE Application Compatibility VPC Image to run XP with IE6 or 7 in a virtual machine. If you have a different operating system (Windows Vista, Mac OS, Linux) and still have a Windows XP license, you can start it using a virtual machine such as VirtualBox .
Those with IE8 have a simpler way for you. Mode Compatibility View will display the page in IE7, but missed the doctype will cause your IE8 to display sites, as would IE6 in quirks mode .
You can simply remove the doctype from your web pages for testing in IE6. Or, if you are using PHP, add a simple switch to them:
Personally, I don’t really care how my sites look like in IE6, 7 or 8. If I suddenly want to see this, I have a magic button . And for those who are worried, there are ways to test the site in these browsers.
Method number 1 (more complicated)
If you have Windows XP or an earlier version, you can use the standalone version of IE6 . If you have Windows 7 (non-beta), you can use Microsoft's free IE Application Compatibility VPC Image to run XP with IE6 or 7 in a virtual machine. If you have a different operating system (Windows Vista, Mac OS, Linux) and still have a Windows XP license, you can start it using a virtual machine such as VirtualBox .
Method number 2 (simpler)
Those with IE8 have a simpler way for you. Mode Compatibility View will display the page in IE7, but missed the doctype will cause your IE8 to display sites, as would IE6 in quirks mode .
You can simply remove the doctype from your web pages for testing in IE6. Or, if you are using PHP, add a simple switch to them:
strict.dtd">