WebReview.com: cross-training for web teams

SEARCH
  
INSIDE
 Current Issue
 Columns
 Newsletters
 Archives

TRACKS
 Web Authors
 Designers
 Developers
 Strategists

GUIDES
 Style Sheets
 Web Browsers
 Web Tools

ABOUT
 Web Review
 Write for Us
 Advertising
 Staff
 Contact

NETWORK
 WebTechniques.com
 WEB2000 Show Site
 WebCoder.com

> Style Sheet Reference Guide

CSS2 Selectors Support Chart

By Eric A. Meyer

Updated 17 January 2001

PLEASE NOTE: the following chart shows only preliminary assessments, and is provided solely as a convenience for authors. No firm conclusions should be drawn from the ratings assigned below, as testing is both underway and under development. Authors are encouraged to provide feedback regarding their own experiences, and especially to contribute test cases which contradict the ratings below.

Internet Explorer 4.x for Windows ratings are based on screenshots sent in by kind readers. If you can produce screenshots of any of the selector tests found here (5.2.1 through 5.12.3) which contradict the ratings shown below, please contact the author when you have done so. Thank you.

Table Key

 Y  Yes
 N  No
 P  Partial
 B  Buggy
 Q  Quirky
 U  Unknown
 
Win95/98/NT  Nav4  Netscape Navigator 4.6  
 Nav6  Netscape Navigator 6.0  
 IE4  Internet Explorer 4.0
 IE5  Internet Explorer 5.0
 IE55  Internet Explorer 5.5
 Op3  Opera 3.6
 Op4  Opera 4.02
 Op5  Opera 5
 
Macintosh  Nav4  Netscape Navigator 4.5
 Nav6  Netscape Navigator 6.0
 IE45  Internet Explorer 4.5
 IE5  Internet Explorer 5.0
Selectors
Property
or Value
 Windows95/98/NT Macintosh
 Nav4  Nav6  IE4  IE5  IE55  Op3  Op4  Op5   Nav4  Nav6  IE45  IE5 
5.2.1 Grouping BYYYYYYY BYYY
x, y, z {decl;} BYYYYYYY BYYY
5.3 Universal Selector NYNYYYYY NYYY
* {decl;} NYNYYYYY NYYY
{decl;} NYNYYYYY NYYY
5.4 Type Selectors YYYYYYYY YYYY
x {decl;} YYYYYYYY YYYY
5.5 Descendant Selectors YYYYYBYY BYYY [note]
x y z {decl;} YYYYYBYY BYYY
5.6 Child Selectors NYBNNYYY NYNY
x > y {decl;} NYBNNYYY NYNY
5.7 Adjacent Sibling Selectors NYBBNBYY NYNY
x + y {decl;} NYBBNBYY NYNY
5.8.1 Matching attributes and attribute values NYNNNNPY NYNN
x[attr] {decl;} NYNNNNYY NYNN
x[attr="value"] {decl;} NYNNNNYY NYNN
x[attr~="value"] {decl;} NYNNNNYY NYNN
x[attr|="value"] {decl;} NYNNNNBB NYNN
5.8.3 Class Selectors PYPYYYYY PYYY [note]
.class {decl;} YYYYYYYY YYYY
.class1.class2 {decl;} NYNBBYYY NYBB [note]
5.9 ID Selectors YYYYYYYY YYYY [note]
#id {decl;} YYYYYYYY YYYY
5.10 Pseudo-Class Combinations NYNNNNNN NYNY
x:psuedo1:pseudo2 {decl;} NYNNNNNN NYNY
:psuedo1:pseudo2 {decl;} NYNNNNNN NYNY
5.11.1 :first-child NYNNNNNN NYNY
:first-child NYNNNNNN NYNY
5.11.2 :link and :visited NYYYYYYY NYYY
:link NYYYYYYY NYYY
:visited NYYYYYNY NYYY
5.11.3 :active, :hover, and :focus NPPPPNPY NPPP
:active NYYYYNPY NYYY
:hover NPPPPNNP NPPP [note]
:focus NYNNNNNN NYNY
5.11.4 :lang NNNNNNNN NNNY
:lang NNNNNNNN NNNY
5.12.1 :first-line NPNNYYYY NPNY
:first-line NPNNYYYY NPNY
5.12.2 :first-letter NPNNYYYY NPNY
:first-letter NPNNYYYY NPNY
5.12.3 :before and :after NYNNNNBY NYNN [note]
:before NYNNNNBY NYNN
:after NYNNNNBY NYNN

CSS1 Support Chart | CSS2 Selector Support Chart | CSS FAQ | Glossary