Appendix B: CSS Properties

The tables in this appendix summarize the CSS properties that can be used to style HTML elements. For each CSS property, the possible values it can be assigned, the default or initial values given to applicable elements, and whether the property’s value is inherited by child elements are shown. The tables are separated to indicate groups of complementary properties.

A default value of “ua-dependent” indicates that the value depends on the user agent or browser.

An asterisk (*) next to the property’s name indicates that it is a new CSS3 property and may not be supported on all browsers.

Explanation of Values

image

CSS Properties ...

Get HTML Manual of Style: A Clear, Concise Reference for Hypertext Markup Language (Including HTML5), Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.