Appendix C. CSS 2.1 Properties Quick Reference

IN THIS APPENDIX

  • Property Listings

  • Property List: Quick Reference

  • Background

  • List

  • Generated content

  • Font and text

  • Text direction

  • Block

  • Positioning

  • Borders

  • Table

  • Printing

  • Miscellaneous

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 website at www.ataccess.org.

Unfortunately, solid support for many of the CSS properties is spotty, so testing on a wide variety of Web browsers is recommended. In addition, several websites 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.

Property List: Quick Reference

The following list provides an overview of the full list of ...

Get HTML, XHTML, and CSS Bible, Fifth 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.