和其他人一样,我需要在Internet Explorer 6和Internet Explorer 7上测试我的代码。现在Internet Explorer 8为开发人员提供了一些很棒的工具,我很乐意使用。我还想开始用Internet Explorer 8测试我的代码,因为它很快就会发布。

The question is: how to run Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine. So far with Internet Explorer 6 and Internet Explorer 7 I've been using Multiple IE. But people have reported (see comments on the page linked in the previous sentence) issue with Internet Explorer 6 after installing Internet Explorer 8. Those errors are related to focus in form fields. Running Internet Explorer 7 wouldn't matter so much as Internet Explorer 8 can use the Internet Explorer 7 rendering engine, but we still need Internet Explorer 6.

如何在同一台机器上运行Internet Explorer 6、Internet Explorer 7和Internet Explorer 8 ?


当前回答

在我的Mac OS X电脑上,我使用Sun公司的VirtualBox,它是免费的。

我运行3个WinXP虚拟盒子,并为每个虚拟盒子分配256K。请看本教程:

http://www.10voltmedia.com/blog/2008/12/screencast-install-internet-explorer-on-osx-using-virtualbox/

其他回答

您可以使用新的MS Expression Web SuperPreview

(来源:istartedsomething.com)

如果你不想花钱购买MS Expression Web,你可以完全免费下载Microsoft Expression Web超级预览版。唯一的限制是在试用期满后,你不能与非IE浏览器进行比较。

也可以看看微软的兼容性检查器,它会给你一些问题的警告,这些问题会影响你网站的向后兼容性。

http://ie.microsoft.com/testdrive/html5/compatinspector/

你不能用IE8代替IE7。IE8的JavaScript引擎和IE7完全不同。尝试在IE7和IE8中在数组或对象文字中留下尾随逗号——在前者中你会得到一个错误,而在后者中即使在兼容模式下也不会。如果你想让你的网站在IE7中工作,你需要在IE7中测试。

我今天在我的Windows 7电脑上做了这个:

安装Windows虚拟电脑,并运行XP模式 创建两个Windows XP映像。一台是ie6,一台是ie7。 现在我可以从Windows 7桌面运行这些浏览器了!就像任何其他应用程序一样。无需打开“虚拟PC”。

http://www.microsoft.com/windows/virtual-pc/

Firefox有一个插件,可以让网页呈现的效果和ie 5.5/6/7/8 beta 2一样。

IE NET渲染器

编辑:这看起来像它只做截图,所以它可能不是很有用。很好,确保你的布局没有破坏,但没有太多其他。