Html 显示';升级您的浏览器';你网站上的横幅?
在您的网站中,通知某些浏览器的用户他们应该升级到其他浏览器的最佳HTML是什么?据我所知,只有IE能够识别由以下人员进行的有条件和有针对性的评论:Html 显示';升级您的浏览器';你网站上的横幅?,html,Html,在您的网站中,通知某些浏览器的用户他们应该升级到其他浏览器的最佳HTML是什么?据我所知,只有IE能够识别由以下人员进行的有条件和有针对性的评论: <!--[if lte IE 6]> <div id="upgrade"><span>Like a growing number across the Web, this site no longer supports Internet Explorer 6 and your viewing experience
<!--[if lte IE 6]>
<div id="upgrade"><span>Like a growing number across the Web, this site no longer supports Internet Explorer 6 and your viewing experience may be affected. We recommend that you download the latest stable release of <a href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx">Internet Explorer 7</a> free of charge by <a href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx">clicking here</a>.</span></div>
<![endif]-->
见:
坦率地说,这是用户的问题,而不是你的问题。实际上,许多用户都没有意识到这个问题。我个人会使用有条件的评论来通知IE6用户升级可用。您可以提供其他选择,但让用户决定哪个浏览器适合他们
如果你不想继续支持旧浏览器,我不会责怪你。最多只支持每个流行浏览器的当前和以前版本。一天结束时,只要你的文字可读,你就完成了你的义务。对我来说,这似乎是浪费时间 如果我错了,请纠正我,但我认为使用IE6的人使用它是因为:
<!--[if IE]><big><blink><marquee>Upgrade to $browser</marquee></blink></big><![endif]-->