1. Computing & Technology
Filed In:
  1. CSS

CSS2 - Cascading Style Sheets Level 2

Cascading Style Sheets level 2 is the second level of CSS. It provides more support for accessibility and positioning. CSS2 is a lot more flexible than CSS1, but that means that there is more to learn.

CSS 2 Generated Content

Sometimes you don't want content to be included in the document tree for some reason. Now, CSS2 comes with a way to include that content. CSS 2 generated content allows you to add things like quotes and numbers to any HTML element automatically.

CSS 2 Counters - Automatic CSS Counters and Numbering

CSS 2 generated content allows you to create counters of your content. CSS 2 allows you to auto-increment counters on elements beyond just ordered lists.

CSS2 - Cascading Style Sheets Level 2 - A CSS Tutorial

Learn CSS2 - cascading style sheets level 2 - a css tutorial for css2

CSS 2 Style Properties

CSS 2 includes all the previous CSS 1 properties, plus a bunch of new properties. These new properties are listed here with explanations of all of them.

CSS 2 Selectors

CSS 2 selectors extend the reach of CSS selectors to allow you more power and control over what you can style in your documents. Once you understand CSS 2 selectors you'll have more wildcards and depth of styles for your cascading style sheets.

CSS Media Types Create Print-Friendly Pages

CSS2 introduces media types to support styling printed web pages. Learn how to use CSS to style your pages when printed.

Cascading Style Sheets, Level 2

The best way to understand the most recent changes to CSS is to read the specification.

CSS Pseudo-Classes and Pseudo-Elements

CSS 2.1 introduced the idea of pseudo-classes and pseudo-elements as ways to style elements of the document that weren't explicitly defined by a position in the document tree. These pseudo-classes and -elements give designers more flexibility in how they style various parts of their web pages.

What is the CSS2 Border-Spacing Property?

The CSS2 border-spacing property is not used a lot by designers, but it can be very helpful in creating a table that is more easy to read because the borders are spaced appropriately. This four-page article explains how to use the CSS2 border-spacing property and shows images of what it does.

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.