在我的HTML文件下面的代码为我工作:浏览器版本测试
<!--[if lt IE 9 ]>
<p class="warning">This page uses newer browser features to display larger versions of the small images appearing on the right hand side of the page and to enhance the appearance of the page. If you are seeing the message, your browser doesn't support some or all of these features.</p>
<![endif]-->
我想扩大它来测试其他浏览器,但我似乎无法找到任何文件在网上搜索,可能是因为我不知道要搜索什么。在测试中使用的语言名称是什么,或者如何找到它的文档?我还需要找到用于其他浏览器的名称。
感谢
谢谢。有了这个答案,我才发现他们只能在Internet Explorer中工作,而且我需要另一种方法,比如Rob Williams推荐的方法。 – curt 2011-03-29 00:49:32