Table of Contents
displayproperty: What kind of box is this?
vertical-alignproperty: Shifting the baseline
quotesproperty: Specifying quote characters
overflowproperty: What if it doesn't fit?
clipproperty: Specify a clipping rectangle
visibilityproperty: Can we see the content?
positionproperty: Positioning boxes
z-indexproperty: Stacking order
contentproperty: Specifying content in pseudo-elements
speak-numeralproperties: spelling it out
@importrule: Importing another stylesheet
@mediarule: Tuning for different rendering platforms
@pagerule: Paged media
HTML (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.