What is Cascading Style Sheets Level 2 (CSS2)?
Cascading Style Sheets Level 2 (CSS2) is the second version of Cascading Style Sheets developed by W3C. It is a declarative language used to improve markup skipping language. CSS2 is a subset of Cascading Style Sheets Level 1 and offers advanced features such as
- Media types concept
- Aurale style sheets
- Features for internationalization
- Extended font selection
- Automatic numbering and generated content
- Dynamic contours
- Ability to control content overflow, clipping
- Absolute, fixed and relative positioning
- Extended dialing mechanism
Currently, W3C does not offer CSS2 recommendations. CSS2 is backwards compatible, so all valid CSS1s are also CSS2.
Compared to CSS1, which was short and to the point, CSS2 was extensive. CSS2 has the following main features:
Aurale Style Sheets: New style properties for defining the acoustic style sheet for documents.
Paging: Definition of how pages should be displayed or printed. This enabled cropping, registration of marks, and other layout features.
Media types: CSS2 introduced different style rules for different media types.
International Accessibility Features: More list styles were available for international documents. This included bidirectional text support as well as language sensitive quotation marks
Font: More fonts have been defined and can be used.
Positioning: CSS2 introduced the relative, absolute positioning and the determination of the placement in a document. That really helped the continuous media.
Cursor: CSS2 defines the way the cursor reacts to various actions.