spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / authoring / style / sheets / properties

Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


CSS 2.1 Properties

By 

Cascading Style Sheets (CSS) are used for Web page layouts. They aid in separating the document's style from its structure. They provide a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents. Used correctly, CSS can be a powerful Web design tool.

Cascading Style Sheets were created by Håkon Wium Lie and Bert Bios. It became a World Wide Web Consortium (W3C) recommendation in December 1996. The current version is 2.1. The entire specification can be downloaded in the following formats:

HTML [zipped]   |   Plain Text [right-click/save as]   |   PDF

The CSS language is declared using a "rule." The structure of the rule is shown below:

The structure of a rule

This reference covers all the properties of the current version. Each property is listed as a link, i.e.

  propertyName

The link will open a popup box, but it's not an actual window. It pops right up on the page, partially hiding the page content. You will need to click the link again to close the window; the link will display a reminder. Go ahead and try the link above. (This script, Absolute Popup Box, is available over at JavaScript Source.)

Browser compatibility is also shown for each element, using the following code: IE = Microsoft Internet Explorer; NN = Netscape (includes Firefox and Mozilla); O = Opera.

References

CSS 2.1 Properties


home / authoring / style / sheets / properties

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

URL: