没有合适的资源?快使用搜索试试~ 我知道了~
IE 5 6 7 8 9 对CSS的不同支持
需积分: 9 7 下载量 30 浏览量
2011-01-21
19:27:03
上传
评论
收藏 557KB DOC 举报
温馨提示
试读
18页
来自互联网的IE5 6 7 8 9之间对CSS支持的区别
资源详情
资源评论
资源推荐
http://msdn.microsoft.com/en-us/library/cc351024%28v=vs.85%29.aspx
CSS Compatibility and Internet Explorer
Note All columns marked "Internet Explorer 9 Beta" are preliminary content. They may be changed substantially prior to commercial release of the software
described herein.
With each new release of Windows Internet Explorer, support for the World Wide Web Consortium (W3C) Cascading Style Sheets (CSS) standard has steadily
improved. Internet Explorer 6 was the first fully CSS, Level 1-compliant version of Internet Explorer. Internet Explorer 8 is fully compliant with the CSS,
Level 2 Revision 1 (CSS 2.1) specification and supports some features of CSS Level 3 (CSS3). Internet Explorer 9 Beta adds even more support for many
CSS3 modules.
Note It is important to remember that many CSS3 modules are still in the Working Draft or Last Call stages. Until they reach the Candidate Recommendation
stage, they could change significantly. For more information, see the latest CSS3 draft modules.
If your Web site targets browsers that include earlier versions of Internet Explorer, you want to know the level of CSS compliance for those versions. This
article provides an at-a-glance look at CSS compliance across recent versions of Internet Explorer, including support in Internet Explorer 9 Beta.
Note CSS features that are new to Internet Explorer 8 will only work when your page is rendered in IE8 mode (or higher). Similarly, CSS features that are
new to Internet Explorer 9 Beta will only work when your page is rendered in IE9 mode (or higher). You can ensure your page displays with the latest
rendering by including the following meta tag in your page's head section:
<meta http-equiv="X-UA-Compatible" content="IE=9" />
For more information on document compatibility modes, see Defining Document Compatibility.
This article's organization is loosely based on that of the CSS reference documentation on MSDN. It contains the following sections:
Introduction
At-rules
Selectors
o Element Selectors
o Attribute Selectors
o Combinators
o Pseudo-classes
o Pseudo-elements
Properties
o Lists
o Color and Background
o Font and Text
o Generated Content
o Border and Layout
o Positioning
o Printing
o User Interface
o Multi-column Layout
o Speech
o Media Queries
Values
o Numbers
o Strings
o Shapes
o Functions
o Colors
o Keywords
Units
Introduction
Each table lists support status information for grouped CSS features across recent versions of Internet Explorer. In each section, the first table represents
features introduced in CSS 2.1 or earlier, and the second table represents features planned (by the W3C) for CSS3.
A value of "Yes" in a cell indicates that that feature is implemented in that version of Internet Explorer.
A value of "Partial" in a cell indicates that that feature is only partially implemented in that version of Internet Explorer. For more information, click the link to
view that feature's reference page on MSDN.
A value of "No" in a cell indicates that that feature is not implemented in that version of Internet Explorer.
A value of "Updated" in a cell indicates that the feature has been updated in Internet Explorer 9 Beta.
At-rules
CSS 2.1:
Internet Explorer
5
Internet Explorer
5.5
Internet Explorer
6
Internet Explorer
7
Internet Explorer
8
Internet Explorer 9
Beta
@chars
et
No Yes Yes Yes Yes Yes
@impor
t
Yes Yes Yes Yes Yes Yes
@medi
a
No Yes Yes Yes Yes Updated
@page Partial Partial Partial Partial Yes Yes
CSS3:
Internet Explorer
5
Internet Explorer
5.5
Internet Explorer
6
Internet Explorer
7
Internet Explorer
8
Internet Explorer 9
Beta
@font-face No Yes Yes Yes Yes Updated
@namespa
ce
No No No No No Yes
Selectors
Element Selectors
CSS 2.1:
Internet
Explorer 5
Internet
Explorer 5.5
Internet
Explorer 6
Internet
Explorer 7
Internet
Explorer 8
Internet Explorer 9
Beta
.value
{ sRules }
Class (see
Note)
Partial Partial Partial Yes Yes Yes
#value
{ sRules }
ID Yes Yes Yes Yes Yes Yes
E { sRules } Type Yes Yes Yes Yes Yes Yes
* { sRules } Universal No No No Yes Yes Yes
Note Prior to Internet Explorer 7, there was a two-class selector limit per element.
CSS3:
Internet
Explorer 5
Internet Explorer
5.5
Internet
Explorer 6
Internet
Explorer 7
Internet
Explorer 8
Internet Explorer 9
Beta
ns|E
{ sRules }
Namespa
ced
No No No No No Yes
Attribute Selectors
CSS 2.1:
Internet
Explorer 5
Internet
Explorer 5.5
Internet
Explorer 6
Internet
Explorer 7
Internet
Explorer 8
Internet Explorer 9
Beta
[att=val]
{ sRules }
Equality [=] No No No Yes Yes Yes
[att] { sRules } Existence [] No No No Yes Yes Yes
[att|=val]
{ sRules }
Hyphen [|=] No No No Yes Yes Yes
[att~=val] Whitespace No No No Yes Yes Yes
剩余17页未读,继续阅读
hurry70
- 粉丝: 22
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0