In the following table, we list in alphabetical order all the
properties defined in the World Wide Web Consortium's Recommended
Specification for Cascading Style Sheets, Level 1
(http://www.w3.org/pub/WWW/TR/REC-CSS1).
We know that browser support of style sheets will change
faster than we can reprint this book, so we have created a separate
"compliance document" that you can use to determine
how style sheets are implemented by the latest releases of the browsers.
You can find this document at http://www.ora.com/info/html
/. Whenever that document and this appendix differ, the
document should be considered more accurate.
As in other sections of this book, we use the Netscape and Microsoft
icons to the far right of each property to show which browser supports
that property. Properties with no icons are not currently supported by
any browser.
We also include the number of the section in this book that
fully defines the property.
We include each property's possible values, defined
as either an explicit keyword (shown in constant width) or as one
of these values:
- color
-
Either a color name or hexadecimal RGB value, as
defined in Appendix F, Color Names and Values,
or an RGB triple of the form
where red, green, and blue are either numbers in
the range 0 to 255 or percentage values indicating the brightness
of that color component. Values of 255 or 100% indicate
that the corresponding color component is at its brightest; values
of 0 or 0% indicate that the corresponding color component
is turned completely off. For example,
rgb(27, 119, 207)
rgb(50%, 75%, 0%)
are both valid color specifications.
- length
-
An optional sign (either + or -)
immediately followed by a number (with or without a decimal point)
immediately followed by a two-character unit identifier. For values
of zero, the unit identifier may be omitted.
The unit identifiers em and ex refer to the overall
height of the font and to the height of the letter "x",
respectively. The unit identifier px is equal to a single pixel
on the display device. The unit identifiers in, cm, mm, pt, and
pc refer to inches, centimeters, millimeters, points, and picas,
respectively. There are 72.27 points per inch, and 12 points in
a pica.
- number
-
An optional sign, immediately followed by a number
(with or without a decimal point).
- percent
-
An optional sign, immediately followed by a number
(with or without a decimal point), immediately followed by a percent
sign. The actual value is computed as a percentage of some other
element property, usually the element's size.
- url
-
The keyword url, immediately followed (no spaces)
by a left parenthesis, followed by a URL optionally enclosed in
single or double quotes, followed by a matching right parenthesis.
For example,
url("http://members.aol.com/htmlguru")
is a valid URL value.
Finally, some values are lists of other values and are described as a
"list of" some other value. In these cases, a list consists of one or
more of the allowed values, separated by commas.
If there are several different values allowed for a property,
these alternative choices are separated by vertical bars (|).
If the standard defines a default value for the property,
that value is in boldface.
|