Appendix B. CSS 2.1 Properties and Proprietary Extensions

This appendix contains a table of CSS properties from W3C’s CSS 2.1 specification (see http://www.w3.org/TR/CSS21), a table of Microsoft proprietary extensions to CSS and a table of some of Mozilla’s proprietary extensions. Table B-1 provides a listing of the property’s values, initial value, what the property applies to, if the values in the property are inherited, if the property accepts percentages, and the property’s media group.

Table B-2 presents a listing of Microsoft’s proprietary extensions to the specifications. These properties will not validate if you run them through a validator and they will only appear successfully in a browser built by Microsoft. Your mileage may vary with the use of these extensions.

As of this writing, Mozilla’s proprietary extensions that are available in Mozilla, Firefox, and Netscape Navigator 6+ browsers, are not fully documented. Table B-3 lists a portion of extensions that are documented from Mozilla’s developer’s web site. Check their site for a complete listing of the extensions, at http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions.

Table B-1. CSS 2.1 properties
NameValuesInitial valueApplies to(Default: all)Inherited?Percentages(Default: N/A)Media groups
’background-attachment’scroll | fixed | inheritscroll no visual
’background-color’<color> | transparent | inherittransparent no visual
’background-image’<uri> | none | inheritnone no visual
’background-position’ ...

Get CSS Cookbook, 2nd 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.