对于制作模板的人来说IETester是一个好工具。大家伙可以试试啦。对于多浏览器的Hack请参考针对firefox ie6 ie7的css样式的Hack。
官方信息
IETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8 beta 1, IE7 IE 6 and IE5.5 on Vista and XP, as well as the installed IE in the same process. New in v0.2.1 : Improved stability and multi-lingual interface !
This is an alpha release, so feel free to post comments/bugs on the IETester forum or contact me directly. Minimum requirement : Windows Vista or Windows XP with IE7 (Windows XP with IE6 has some minor problems and IE7/IE8 instances do not work under this config)
官方信息
IETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8 beta 1, IE7 IE 6 and IE5.5 on Vista and XP, as well as the installed IE in the same process. New in v0.2.1 : Improved stability and multi-lingual interface !
This is an alpha release, so feel free to post comments/bugs on the IETester forum or contact me directly. Minimum requirement : Windows Vista or Windows XP with IE7 (Windows XP with IE6 has some minor problems and IE7/IE8 instances do not work under this config)
在cnBeta上看到的方法。可以解除那些需要正版验证才能下载的限制,不过对于一些即使下载了还要WGA验证的软件就无能为力了。
从Microsoft网站下载软件有时候需要WGA验证,因为Microsoft在你的电脑里面安装了一个小软件向其服务器打小报告的缘故. Slashdot 上面给出了一个方法,让你不用通过验证下载所有的软件,只需要下载(不用安装)一个微软自己的软件(嗯,有点讽刺) mgadiag.exe --Microsoft Genuine Advantage Diagnostic Tool.
1.运行这个软件,找到“Download Center Code”的值(比如1234567),记下.
2.此时,比如你想下载IE7,其地址为: http://www.microsoft.com/d...
3.在这个地址后面加上
从Microsoft网站下载软件有时候需要WGA验证,因为Microsoft在你的电脑里面安装了一个小软件向其服务器打小报告的缘故. Slashdot 上面给出了一个方法,让你不用通过验证下载所有的软件,只需要下载(不用安装)一个微软自己的软件(嗯,有点讽刺) mgadiag.exe --Microsoft Genuine Advantage Diagnostic Tool.
1.运行这个软件,找到“Download Center Code”的值(比如1234567),记下.
2.此时,比如你想下载IE7,其地址为: http://www.microsoft.com/d...
3.在这个地址后面加上
用上了IE7发现CSS兼容性有问题,于是找到这篇文章。
引用
现在我大部分都是用!important来hack,对于ie6和firefox测试可以正常显示,但是ie7对!important可以正确解释,会导致页面没按要求显示!搜索了一下,找到一个针对IE7不错的hack方式就是使用“*+html”,现在用IE7浏览一下,应该没有问题了。
现在写一个CSS可以这样:
#example { color: #333; } /* Moz */
* html #example { color: #666; } /* IE6 */
*+html #example { color: #999; } /* IE7 */
那么在firefox下字体颜色显示为#333,IE6下字体颜色显示为#666,IE7下字体颜色显示为#999,他们都互不干扰。
现在写一个CSS可以这样:
#example { color: #333; } /* Moz */
* html #example { color: #666; } /* IE6 */
*+html #example { color: #999; } /* IE7 */
那么在firefox下字体颜色显示为#333,IE6下字体颜色显示为#666,IE7下字体颜色显示为#999,他们都互不干扰。




