background preloader

CSS

Facebook Twitter

HeydonWorks Latest Articles. CSS Tutorial. CSS Basics. Cascading Style Sheets, Level 2. W3C Recommendation 12-May-1998 (revised 11 April 2008) This version: Latest version: Previous version: Editors: Bert Bos <bbos@w3.org>Håkon Wium Lie <howcome@w3.org>Chris Lilley <chris@w3.org>Ian Jacobs <ij@w3.org> Note: This paragraph is informative. Abstract This specification defines Cascading Style Sheets, level 2 (CSS2).

CSS2 builds on CSS1 (see [CSS1]) and, with very few exceptions, all valid CSS1 style sheets are valid CSS2 style sheets. Status of this document This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a W3C Recommendation. A list of current W3C Recommendations and other technical documents can be found at Public discussion of CSS features takes place on www-style@w3.org. Available formats The CSS2 specification is available in the following formats: a plain text file: and a PDF file:

Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification. Abstract This specification defines Cascading Style Sheets, level 2 revision 1 (CSS 2.1). CSS 2.1 is a style sheet language that allows authors and users to attach style (e.g., fonts and spacing) to structured documents (e.g., HTML documents and XML applications). By separating the presentation style of documents from the content of documents, CSS 2.1 simplifies Web authoring and site maintenance. CSS 2.1 builds on CSS2 [CSS2] which builds on CSS1 [CSS1]. CSS 2.1 corrects a few errors in CSS2 (the most important being a new definition of the height/width of absolutely positioned elements, more influence for HTML's "style" attribute and a new calculation of the 'clip' property), and adds a few highly requested features which have already been widely implemented. CSS 2.1 is derived from and is intended to replace CSS2. Status of this document This section describes the status of this document at the time of its publication.

This document represents a last call for comments. Features at risk.