O'Reilly logo

HTML, XHTML, and CSS Bible, Fifth Edition by Steven M. Schafer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required