Abstract
Reference guide for Cascading Style Sheets 2.0, a language for describing the style of Web pages.
This publication is available in Web form and also as a PDF document. Please
forward any comments to tcc-doc@nmt.edu.
Table of Contents
display
property: What kind of box is this?line-height propertytext-indent propertytext-align propertytext-decoration propertytext-transform propertywhite-space
propertyletter-spacing
propertyword-spacing propertyvertical-align property: Shifting
the baselinequotes property: Specifying quote
characterscolor propertyheight and width
propertiesclear propertyfloat propertypadding propertiesborder propertiesmargin propertiesoverflow property: What if it
doesn't fit?clip property: Specify a
clipping rectanglevisibility property: Can we see
the content?position property: Positioning
boxestop, bottom, left, and rightz-index property: Stacking ordercontent property: Specifying
content in pseudo-elementsazimuth
propertyvolume propertyspeak, speak-punctuation , and speak-numeral properties: spelling it outvoice-family, pitch, pitch-range, stress, and richnessspeech-rate, pause-before, pause-after, and
pausecue-before, cue-after, and cueplay-during@import rule: Importing another
stylesheet@media rule: Tuning for different
rendering platforms@page rule: Paged mediaHTML (HyperText Markup Language), the language of Web pages, describes the function of each element of your page, but the browser determines how each element will actually look. This has frustrated page designers who want more creative control of appearance.
The Cascading Style Sheet (CSS) standard gives you this creative control, assuming that the reader has a relatively recent Web browser. Most modern browsers support most or all of CSS level 2.1.
CSS is most commonly used to mark up HTML web pages. However, it can also be used to display XML documents.
Useful online resources:
The CSS standard is defined by the W3 Consortium, the umbrella organization for Web-related standards. See the W3 CSS homepage for a variety of resources: tutorials, standards, and books.
This document is based on Cascading Style Sheets, level 2 revision 1: CSS 2.1 Specification. Some of the rules governing page makeup are extremely tricky; refer to this document for all the fine points.