CSS Compatibility 519CSSCompatabilityCSS CompatibilityWeb Design in a Nutshell, eMatter Edition1.3 Inheritance
(inherited values)P
P
P
P
Y
Y
Y
Y
B
B
P
P
1.4 Class as selector
.classY
Y
B
B
B
B
Y
Y
B
B
Y
Y
1.5 ID as selector
#IDB
B
B
B
B
B
B
B
B
B
B
B
1.6 Contextual selectors
x y z {dec;}Y
Y
Y
Y
Y
Y
Y
Y
P
P
Y
Y
1.7 Comments
/* comment */Y
Y
B
B
Y
Y
Y
Y
Y
Y
Y
Y
Table E-2: Pseudo-Classes and Pesudo-Elements
Spec Property or Value Windows95 Macintosh
Reference Nav4 IE3 IE4 Nav4 IE3 IE4
2.1 anchor
A:link
A:active
A:visitedP
Y
N
N
N
N
N
N
Y
Y
Y
Y
P
Y
N
N
B
B
N
B
Y
Y
Y
Q
2.3 first-line
:first-lineN
N
N
N
N
N
N
N
B
B
N
N
2.4 first-letter
:first-letterN
N
N
N
N
N
N
N
B
B
N
N
Table E-3: The Cascade
CSS Property or Value Windows95 Macintosh
Reference Nav4 IE3 IE4 Nav4 IE3 IE4
3.1 important
!importantN
N
N
N
Y
Y
N
N
N
N
N
N
3.2 Cascading Order
Weight sorting
Origin sorting
Specificity sorting
Order sortingN
Y
Y
Y
Y
P
Y
Y
P
N
Y
Y
B
Y
Y
B
B
B
B
B
P
Y
B
B
N
Y
Y
Y
Y
Y
Table E-1: Basic Concepts (continued)
Spec Property or Value Windows95 Macintosh
Reference Nav4 IE3 IE4 Nav4 IE3 IE4