Appendix E. CSS Compatibility
Browser compatibility—or lack thereof—is the biggest obstacle to adoption of cascading style sheets. This appendix provides a comprehensive guide to how the browsers have implemented support for CSS. It lists every aspect of the CSS spec and identifies how well it is supported by Netscape 4, Internet Explorer 3 and Internet Explorer 4 for both Mac and Windows 95. Check this master list to see if the CSS elements you want to use are supported by all the browsers—and whether their support is complete, partial or buggy.
This appendix uses the following key:
Y |
Yes |
N |
No |
P |
Partial |
B |
Buggy |
Q |
Quirky |
The data in this appendix was collected by Eric Meyer, and updated versions of this information will appear on http://style.webreview.com when new browser versions are released.
Table E-1. Basic Concepts
Spec |
Property or Value |
Windows95 |
Macintosh | ||||
---|---|---|---|---|---|---|---|
Reference |
Nav4 |
IE3 |
IE4 |
Nav4 |
IE3 |
IE4 | |
1.1 |
Containment in HTML
@import
|
P Y Y N Y |
P Y Y N Y |
Y Y Y P Y |
P Y Y N B |
B B Y N Y |
P P Y B Y |
1.2 |
Grouping
|
Y Y |
N N |
Y Y |
Y Y |
Y Y |
Y Y |
1.3 |
Inheritance (inherited values) |
P P |
P P |
Y Y |
Y Y |
B B |
P P |
1.4 |
Class as selector
|
Y Y |
B B |
B B |
Y Y |
B B |
Y Y |
1.5 |
ID as selector
|
B B |
B B |
B B |
B B |
B B |
B B |
1.6 |
Contextual selectors
|
Y Y |
Y Y |
Y Y |
Y Y |
P P |
Y Y |
1.7 |
Comments
|
Y Y |
B B |
Y Y |
Y Y |
Y Y |
Y Y |
Table E-2. Pseudo-Classes ...
Get Web Design in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.