What are the differences between CSS1 and CSS2?
Level 2 Cascading Style Sheets, generally referred to by the abbreviation CSS2, are backwards compatible with Level 1 style sheets (CSS1). This is to say that CSS2 supports the same definitions that are supported by CSS1 and adds new definitions. A brief summary of the additions follows:
- Support for alternative media types
Dedicated support for displays other than your computer's screen, including text readers, braille and graphical printers
- Better internationalization
Support for non-English list styles, quotation marks and bi-directional text
- Content control refinements
Added support for colors, fonts, positioning, dimensions, visibility, outlines and other content display attributes
- Better access to content structure
Support for generated content, pseudo-classes for relative positioning, counters and markers
- Cursors
Support for a standardized set of mouse cursor types
For more information, please refer to an appendix from the W3C addressing the changes at http://www.w3.org/TR/REC-CSS2/changes.html.
last updated 2008.08.02