Appendix C. CSS Properties Quick Reference
IN THIS APPENDIX
Property listings
This appendix follows CSS 2.1, which is a specification intended to represent the most commonly supported properties in modern browsers.
Note that aural stylesheet properties are not covered in this appendix because adequate coverage of their use and capabilities goes well beyond a quick reference. For information on aural properties and their use, visit The Alliance for Technology Access Web site at www.ataccess.org/
.
Unfortunately, solid support for many of the CSS properties is spotty. Testing on a wide variety of Web browsers is recommended. Also, several Web sites provide extensive information on CSS support across the popular browsers.
Note
For an overview of CSS selectors, see Appendix D.
Property Listings
In each table that follows, words under Supported Values that are capitalized are placeholders for either a set of possible values or values drawn from a related property. Examples of placeholders include the following:
Length — Number followed by a unit of measurement, such as "px" for pixel
Percentage — Number followed by a percent sign
Integer — Whole number
Inherited refers to whether a given property will be drawn from the element's parents if it is not explicitly provided.
Background
Listings of the background properties follow.
background-image
Place an image behind an element (typically the body of a document).
table { background-image: url("/images/draft.gif"); }
Supported values |
|
Default ... |
Get HTML, XHTML, and CSS Bible, Fourth 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.