Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IE8的兼容模式调试和IE7的调试完全一样吗?
网站显示完全一样吗?
所以我不需要 IE7 来测试我是否有 IE8 ?
谢谢
它非常接近 - 但不一样,有几个细微的差异。
这一切都取决于您的代码...例如,如果您的页面没有文档类型,例如您在 quirks 模式下运行或您强制 quirks 模式,则height="100%"iframe 上的解释在 IE7 中与 IE8 中的 IE7 模式不同。前者是“我的容器的 100%”,后者是“默认高度的 100%”,大约为 220 像素。
height="100%"