Appendix C. CSS 2.1 Properties
When marking up content with HTML, you must be aware of the elements that are at your disposal. The same goes for designing with CSS — you must be fully aware of the properties and their values to effectively design for the Web.
In this vein, the following table lists all the CSS 2.1 properties that are at your disposal. In the far left column is the name of the CSS property. Next are the values associated with that property and then the initial value. The next column states what HTML element that CSS property applies to. The Inherited column states whether the property can be inherited by other elements. The far right column indicates the applicable media group.
The listing of CSS 2.1 properties (
www.w3.org/TR/CSS21/propidx.html
) is copyright © February 25, 2004 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University). All Rights Reserved.www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
Name | Values | Initial Value | Applies to (Default: All) | Inherited | Media Groups |
---|---|---|---|---|---|
|
|
| All | Yes | Aural |
|
|
| All | No | Visual |
|
|
| All | No | Visual |
|
|
| All | No | Visual |
|
|
Get Professional CSS: Cascading Style Sheets for Web Design, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.