“IE8不会破坏你的网站,只是会发回不兼容的内容。如果网站在IE6和IE7下显示正常,那么在IE8下,你只需使用IE7转换引擎浏览或者优化一下网页代码即可。”
“另一种方法就是如果你曾对网站的CSS做过处理以使其在Firefox和Safari下显示正常的话,将这样CSS用于IE8,也许也能起作用。”为了尽可能地使网页完全兼容于IE8,开发者们可以在网页中加入X-UA-Compatiblevalue="IE=EmulateIE7代码,这将使得IE8以IE7模式来浏览网站。当然,对于用户而言,还有兼容浏览模式可选。
附部分原文:
With Internet Explorer 8, Microsoft is laboring to balance its commitment to notbreaking the web, namely to perpetuate compatibility with content that was designed specifically for IE7 and IE6, but also to embrace modern web standards to reach a level of support that will place IE on par with rival browsers such as Firefox and Opera.
The solution delivered by the Redmond company was the introduction of three rendering engines in Internet Explorer 8, one for modern standards, one for IE7-centric content, and the last for items that were tailored to IE6. Fact is that the next iteration of Internet Explorer will joggle with all rendering engines in order to accommodate websites and applications built not only for IE8, but also for previous versions of the browser.
“IE8 doesn't really break your website. What happens is, you're sending back content that is not very standards compliant. It worked in IE7 and IE7 wasn't the most standards compliant browser out there. So, for IE8 you just need to go and either use the IE7 rendering engine or go tweak the HTML in your page and make it work,” Microsoft's Pete LePage
网友评论