IE9的开发人员工具上的两个菜单项“浏览器模式”和“文档模式”分别是什么意思呢?

2011-11-11 11:25:39 +08:00
 OnlyBlue
相应的菜单如下:

浏览器模式:
--Internet Explorer 7
--Internet Explorer 8
--Internet Explorer 9(9)
--Internet Explorer 9 兼容性视图

文档模式:
--Quirks 模式
--Internet Explorer 7 标准
--Internet Explorer 8 标准
--Internet Explorer 9 标准 (默认页面)
4048 次点击
所在节点    问与答
4 条回复
clowwindy
2011-11-11 12:04:00 +08:00
Browser mode controls the way Internet Explorer identifies itself to the server hosting a webpage.
Document mode controls the way Internet Explorer interprets and displays a webpage; document modes also controls the features that are enabled for a given webpage.

http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx#Features
OnlyBlue
2011-11-11 14:35:20 +08:00
@clowwindy 多谢,权威的资料啊!可惜我看了一遍还没有理解,再慢慢琢磨吧。
deepure
2011-11-11 15:27:20 +08:00
浏览器模式是IE返回给服务器的信息,文档模式是浏览器如何来渲染网页
OnlyBlue
2011-11-11 16:20:29 +08:00
@deepure 明白了,多谢!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/21233

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX