Cascading Style Sheets (CSS)

Specify presentation characteristics for XML documents

Cascading Style Sheets (CSS) is a system for applying presentation style to markup. CSS is best known for its use in styling HTML Web pages, but it is also well suited to presenting XML documents on the Web and on other media. Effective use of CSS is the key to separating the content from its presentation.

Contributors:  W3C

25 April 2007 (First published 06 February 2007)

Cascading Style Sheets (CSS) is a system for applying presentation style to markup. CSS is best known for its use in styling HTML Web pages, but it is also well suited to presenting XML documents on the Web and on other media. Effective use of CSS is the key to separating the content from its presentation.

Most developers already know Cascading Style Sheets (CSS) [W3C Recommendation] as the recommended means of expressing the style in which an HTML document should be presented. You can also use it to present XML documents on the Web and on other media, and it's even better suited for this purpose since the release of CSS Level 2. Mapping XML documents to output structure is performed using the display property. The standard way to link an XML document to its CSS stylesheet document is defined in Associating Style Sheets with XML documents Version 1.0 [W3C Recommendation]. Much like Document Object Model (DOM), CSS is organized into levels, each of which builds added capabilities upon the prior one.

Resources

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=193465
SummaryTitle=Cascading Style Sheets (CSS)
publish-date=04252007