Index by Christopher Schmitt

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Appendix B. CSS 2.1 Properties and Proprietary Extensions

This appendix contains several tables. Table B-1 lists CSS properties from W3C’s CSS 2.1 specification (see http://www.w3.org/TR/CSS21). It lists the property’s values, initial value, what the property applies to, whether the values in the property are inherited, whether the property accepts percentages, and the property’s media group.

Table B-2 lists Microsoft’s proprietary extensions to the specifications. These properties will not validate if you run them through a validator and they will appear successfully only in a browser built by Microsoft. Your mileage will 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 and later browsers are not fully documented. Table B-3 lists some extensions that are documented from Mozilla’s developers’ website. Check the site for a complete list of the extensions, at http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions.

Table B-1. CSS 2.1 properties

Name

Values

Initial value

Applies to

(Default: all)

Inherited?

Percentages

(Default: N/A)

Media groups

'background-attachment'

scroll | fixed | inherit

scroll

 

No

 

Visual

'background-color'

<color> | transparent | inherit

transparent

 

No

 

Visual

'background-image'

<uri> | none | inherit

none

 

No

 

Visual

'background-position'

[ [ <percentage> | <length> | left | center | right ] ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required