The following conventions are used to outline browser compatibility for each CSS feature:
Y = Yes. The feature is implemented completely per the W3C specification of what that feature is.
N = No. The feature is not implemented.
B = Buggy. The feature is implemented but has unexpected side effects.
P = Partial. The feature is partially implemented.
A = Alternative. The feature is not implemented but an alternative proprietary feature is available that provides the same functionality.
I = Incorrect. The feature is implemented but does not conform to the W3C definition of what that feature provides.
The CSS level that reference material refers to is provided in the CSS column. At the time of this writing, there are four CSS specifications:
CSS Level 1: The reference material provided is outlined in the CSS Level 1 Recommendation made 17 December 1996.
CSS Level 2: The reference material provided is outlined in the W3C CSS Level 2 Recommendation made 12 May 1998.
CSS Level 2.1: The reference material provided is outlined in the W3C CSS Level 2.1 Working Draft made 11 April 2006.
CSS Level 3: The reference material provided refers to a W3C CSS Level 3 Candidate Recommendation (at the time of this writing portions of CSS 3 are still in development; references refer to those parts of CSS 3 in Candidate Recommendation status).
Property | CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 |
---|---|---|---|---|---|---|
color | 2.1 | Y | Y | Y | Y | Y |
Value: | <color> | |||||
Initial value: | Depends on browser | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
| ||||||
A color keyword: |
| |||||
A hexadecimal value: |
| |||||
Short hexadecimal value: |
| |||||
RGB value: |
| |||||
RGB percentage: |
| |||||
opacity | 3 | A | A | I | N | Y |
Value: | <alphavalue> | |||||
Initial value: | 1 | |||||
All elements | ||||||
Inherited: | No | |||||
Introduced in CSS 3, the | ||||||
Firefox 2.0 incorrectly allows this property to inherit to children elements. | ||||||
IE 6 and IE 7 provide an alternative, proprietary |
CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 | |
---|---|---|---|---|---|---|
background-color | 2.1 | Y | Y | Y | Y | Y |
Value: | <color> | transparent | |||||
Initial value: | transparent | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
background-image | 2.1 | Y | Y | Y | Y | Y |
Value: | <uri> | none | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
background-repeat | 2.1 | Y | Y | Y | Y | Y |
Value: | repeat | repeat-x | repeat-y | no-repeat | |||||
Initial value: | repeat | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
background-attachment | 2.1 | P | Y | Y | Y | Y |
Value: | scroll | fixed | |||||
Initial value: | repeat | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
IE 6 only supports the | ||||||
background-position | 3 | Y | Y | Y | Y | Y |
Value: | [<percentage> | <length> ]{1,2} | [ [top | center | bottom] || [left | center | right] ] | |||||
Initial value: | 0% 0% | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
Percentage values: | Are determined based on the size of the element itself | |||||
2.1 | Y | Y | Y | Y | Y | |
Value: | <background-color> || <background-image> || <background-repeat> || <background-attachment> || <background-position> | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
Percentage values: | Are determined based on the size of the element itself |
Property | CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 |
---|---|---|---|---|---|---|
word-spacing | 2.1 | Y | Y | Y | Y | Y |
Value: | normal | <length> | |||||
Initial value: | normal | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
letter-spacing | 2.1 | Y | Y | Y | Y | Y |
Value: | normal | <length> | |||||
Initial value: | normal | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
text-decoration | 2.1 | Y | Y | Y | Y | Y |
Value: | none | [underline || overline || line-through || blink ] | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
text-transform | 2.1 | Y | Y | Y | Y | Y |
Value: | capitalize | uppercase | lowercase | none | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
2.1 | Y | Y | Y | Y | Y | |
Value: | left | right | center | justify | |||||
Initial value: | left | |||||
Applies to: | Block-level elements, table cells and inline blocks | |||||
Inherited: | Yes | |||||
text-indent | 2.1 | Y | Y | Y | Y | Y |
Value: | <length> | <percentage> | |||||
Initial value: | 0 | |||||
Applies to: | Block-level elements, table cells and inline blocks | |||||
Inherited: | Yes | |||||
Percentage value: | Refers to the width of the containing block | |||||
line-height | 2.1 | Y | Y | Y | Y | Y |
Value: | normal | <number> | <length> | <percentage> | |||||
Initial value: | normal | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
Percentage value: | Refers to the font size of the element the line-height is applied to | |||||
vertical-align | 2.1 | Y | Y | Y | Y | Y |
Value: | baseline | sub | super | top | text-top | middle | bottom | text-bottom | <percentage> | <length> | |||||
Initial value: | baseline | |||||
Applies to: | Inline-level and 'table-cell' elements | |||||
Inherited: | No | |||||
Percentage value: | Is determined by the line-height of the element | |||||
white-space | 2 | Y | Y | Y | Y | Y |
Value: | normal | pre | nowrap | |||||
Initial value: | normal | |||||
Applies to: | All elements | |||||
Inherited: | Yes. | |||||
Internet Explorer 5.5 does not support the |
CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 | |
---|---|---|---|---|---|---|
margin-top margin-right margin-bottom margin-left | 2.1 | Y | Y | Y | Y | Y |
Value: | <length> | <percentage> | auto | |||||
Initial value: | 0 | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to the width of the containing block | |||||
margin | 2.1 | Y | Y | Y | Y | Y |
Value: | [<length> | <percentage> | auto ] {1, 4} | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to the width of the containing block | |||||
padding-top padding-right padding-bottom padding-left | 2.1 | Y | Y | Y | Y | Y |
Value: | <length> | <percentage> | |||||
Initial value: | 0 | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to the width of the containing block | |||||
padding | 2.1 | Y | Y | Y | Y | Y |
Value: | [ <length> | <percentage> ] {1,4} | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to the width of the containing block | |||||
border-right-width border-bottom-width border-left-width | 2.1 | Y | Y | Y | Y | Y |
Value: | thin | medium | thick | <length> | |||||
Initial value: | medium | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
border-width | 2.1 | Y | Y | Y | Y | Y |
Value: | [ thin | medium | thick | <length>] {1,4} | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
border-top-color border-right-color border-bottom-color border-left-color | 2.1 | P | Y | Y | Y | Y |
Value: | <color> | transparent | |||||
Initial value: | The value of the | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
IE 6 does not support the | ||||||
border-color | 2.1 | P | Y | Y | Y | Y |
Value: | [ <color> | transparent ] {1,4} | |||||
Initial value: | See individual properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
IE 6 does not support the | ||||||
border-top-style border-right-style border-bottom-style border-left-style | 2.1 | P | P | Y | Y | Y |
Value: | none | dotted | dashed | solid | double | groove | ridge | inset | outset | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
IE 5.5 and IE 6 render the | ||||||
border-style | 2.1 | P | P | Y | Y | Y |
Value: | [none | dotted | dashed | solid | double | groove | ridge | inset | outset ] {1,4} | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
IE 5.5 and 6 render the | ||||||
border-top border-right border-bottom border-left | 2.1 | Y | Y | Y | Y | Y |
Value: | <border-width> || <border-style> || <border-color> | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
border | 2.1 | Y | Y | Y | Y | Y |
Value: | <border-width> || <border-style> || <border-color> | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
width | 2.1 | I | Y | Y | Y | Y |
Value: | <length> | <percentage> | auto | |||||
Initial value: | auto | |||||
Applies to: | All elements, but non-replaced inline elements, table rows, and row groups | |||||
Inherited: | No | |||||
IE 6 incorrectly resizes elements if the content inside of the element is larger than its width; this is fixed in IE 7. | ||||||
2.1 | N | Y | Y | Y | Y | |
Value: | <length> | <percentage> | |||||
Initial value: | 0 | |||||
Applies to: | All elements, but non-replaced inline elements and table elements | |||||
Inherited: | No | |||||
Versions of Safari previous to 2.0 do not support | ||||||
max-width | 2.1 | N | Y | Y | Y | Y |
Value: | <length> | <percentage> | none | |||||
Initial value: | none | |||||
Applies to: | All elements, but non-replaced inline elements and table elements | |||||
Inherited: | No | |||||
Versions of Safari previous to 2.0 do not support | ||||||
height | 2.1 | I | Y | Y | Y | Y |
Value: | <length> | <percentage> | auto | |||||
Initial value: | auto | |||||
Applies to: | All elements, but non-replaced inline elements, table rows, and row groups | |||||
Inherited: | No | |||||
IE 6 incorrectly resizes elements if the content inside of the element is larger than its height. | ||||||
min-height | 2.1 | P | Y | Y | Y | Y |
Value: | <length> | <percentage> | |||||
Initial value: | 0 | |||||
Applies to: | All elements, but non-replaced inline elements, table rows, and row groups | |||||
Inherited: | No | |||||
IE 6 only supports the | ||||||
max-height | 2.1 | N | Y | Y | Y | Y |
Value: | <length> | <percentage> | none | |||||
Initial value: | none | |||||
Applies to: | All elements, but non-replaced inline elements, table rows, and row groups | |||||
Inherited: | No |
CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 | |
---|---|---|---|---|---|---|
overflow | 2.1 | I | Y | Y | Y | Y |
Value: | visible | hidden | scroll | auto | |||||
Initial value: | visible | |||||
Applies to: | Block-level and replaced elements | |||||
Inherited: | No | |||||
IE 6 incorrectly resizes element width / height when | ||||||
overflow-x | 3 | Y | Y | Y | N | N |
Value: | visible | hidden | scroll | auto | |||||
Initial Value: | visible | |||||
Applies to: | Block-level and replaced elements | |||||
Inherited: | No | |||||
overflow-y | 3 | Y | Y | Y | N | N |
Value: | visible | hidden | scroll | auto | |||||
Initial Value: | visible | |||||
Applies to: | Block-level and replaced elements | |||||
Inherited: | No | |||||
clip | 2.1 | Y | Y | Y | Y | Y |
Value: | <shape> | auto | |||||
Initial value: | auto | |||||
Applies to: | Absolutely positioned elements | |||||
Inherited: | No | |||||
Under CSS 2 the only valid | ||||||
visibility | 2.1 | P | P | P | P | P |
Value: | visible | hidden | collapse | |||||
Initial value: | visible | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
No browser supports the |
CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 | |
---|---|---|---|---|---|---|
display | 2.1 | P | P | P | Y | Y |
Values: | inline | block | list-item | run-in | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | |||||
Initial value: | inline | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
IE 5.5 and 6 only support the keywords | ||||||
position | 2.1 | P | Y | Y | Y | Y |
Value: | static | relative | absolute | fixed | |||||
Initial value: | static | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
IE 6 does not support the | ||||||
top | 2.1 | Y | Y | Y | Y | Y |
Value: | <length> | <percentage> | auto | |||||
Initial value: | auto | |||||
Applies to: | Positioned elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to height of containing block | |||||
right | 2.1 | Y | Y | Y | Y | Y |
Value: | <length> | <percentage> | auto | |||||
Initial value: | auto | |||||
Applies to: | Positioned elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to width of containing block | |||||
bottom | 2.1 | Y | Y | Y | Y | Y |
Value: | <length> | <percentage> | auto | |||||
auto | ||||||
Applies to: | Positioned elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to height of containing block | |||||
left | 2.1 | Y | Y | Y | Y | Y |
Value: | <length> | <percentage> | auto | |||||
Initial value: | auto | |||||
Applies to: | Positioned elements | |||||
Inherited: | No | |||||
Percentage value: | Refers to width of containing block | |||||
top + bottom = height | 2.1 | N | Y | Y | Y | Y |
When both the | ||||||
left + right = width | 2.1 | N | Y | Y | Y | Y |
When both the | ||||||
float | 2.1 | Y | Y | Y | Y | Y |
Value: | left | right | none | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
clear | 2.1 | Y | Y | Y | Y | Y |
Value: | none | left | right | both | |||||
Initial value: | none | |||||
Applies to: | Block-level elements | |||||
Inherited: | No | |||||
z-index | 2.1 | Y | Y | Y | Y | Y |
Value: | auto | <integer> | |||||
Initial value: | auto | |||||
Applies to: | Positioned elements | |||||
Inherited: | No |
CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 | |
---|---|---|---|---|---|---|
caption-side | 2.1 | N | N | Y | N | Y |
Value: | top | bottom | |||||
Initial value: | top | |||||
Applies to: | 'table-caption' elements | |||||
Inherited: | Yes | |||||
table-layout | 2.1 | Y | Y | Y | Y | Y |
Value: | auto | fixed | |||||
Initial value: | auto | |||||
Applies to: | 'table' and 'inline-table' elements | |||||
Inherited: | No | |||||
border-collapse | 2.1 | Y | Y | Y | Y | Y |
Value: | collapse | separate | |||||
Initial value: | separate | |||||
Applies to: | 'table' and 'inline-table' elements | |||||
Inherited: | Yes | |||||
border-spacing | 2.1 | N | N | Y | Y | Y |
Value: | <length> <length> ? | |||||
Initial value: | 0 | |||||
Applies to: | 'table' and 'inline-table' elements | |||||
Inherited: | Yes | |||||
2.1 | N | N | Y | Y | Y | |
Value: | show | hide | |||||
Initial value: | show | |||||
Applies to: | 'table-cell' elements | |||||
Inherited: | Yes |
CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 | |
---|---|---|---|---|---|---|
cursor | 2.1 | Y | Y | Y | Y | P |
Value: | [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress ] | |||||
Initial value: | auto | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
Safari does not support custom cursors supplied via a | ||||||
outline-width | 2.1 | N | N | Y | Y | Y |
Value: | <border-width> | |||||
Initial value: | Medium | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
outline-style | 2.1 | N | N | Y | Y | Y |
Value: | <border-style> | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
outline-color | 2.1 | N | N | Y | Y | Y |
Value: | <color> | invert | |||||
Initial value: | invert | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
outline | 2.1 | N | N | Y | Y | Y |
Value: | <'outline-color'> || <'outline-style'> || <'outline-width'> | |||||
Initial value: | Not defined for shorthand properties | |||||
Applies to: | All elements | |||||
Inherited: | No |
CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 | |
---|---|---|---|---|---|---|
content | 2.1 | N | N | Y | Y | Y |
Value: | normal | none | [ <string> | <uri> | <counter> | attr(<identifier>) | open-quote | close-quote | no-open-quote | no-close-quote ]+ | |||||
Initial value: | normal | |||||
Applies to: |
| |||||
Inherited: | No | |||||
quotes | 2.1 | N | N | Y | Y | N |
Value: | [<string> <string>]+ | none | |||||
Initial value: | Varies from browser to browser | |||||
Applies to: | All elements | |||||
Inherited: | Yes | |||||
counter-reset | 2.1 | N | N | N | Y | N |
Value: | [ <identifier> <integer>? ]+ | none | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
counter-increment | 2.1 | N | N | N | Y | N |
Value: | [ <identifier> <integer>? ]+ | none | |||||
Initial value: | none | |||||
Applies to: | All elements | |||||
Inherited: | No | |||||
list-style-type | 2.1 | P | P | P | P | Y |
Value: | disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | none | |||||
Initial value: | disc | |||||
Applies to: | Elements with | |||||
Inherited: | Yes | |||||
Firefox does not support the | ||||||
list-style-image | 2.1 | Y | Y | Y | Y | Y |
Value: | <uri> | none | |||||
Initial value: | none | |||||
Applies to: | Elements with | |||||
Inherited: | Yes | |||||
list-style-position | 2.1 | Y | Y | Y | Y | Y |
Value: | inside | outside | |||||
Initial value: | outside | |||||
Applies to: | Elements with | |||||
Inherited: | Yes | |||||
list-style | 2.1 | P | P | P | P | Y |
Value: | <'list-style-type'> || <'list-style-position'> || <'list-style-image'> | |||||
Initial value: | Not defined for shorthand properties. | |||||
Applies to: | Elements with | |||||
Inherited: | Yes |
Property | CSS | IE 6.0 | IE 7.0 | FF 2.0 | O 9.0 | S 2.0 |
---|---|---|---|---|---|---|
size | 2.1 | N | N | N | Y | N |
Value: | <length>{1,2} | auto | portrait | landscape | |||||
Initial value: | auto | |||||
Applies to: | Page (via @page rule) | |||||
marks | 2.1 | N | N | N | N | N |
Value: | [ crop || cross ] | none | |||||
Initial value: | none | |||||
Applies to: | Page (via @page rule) | |||||
2.1 | P | P | P | Y | P | |
Value: | auto | always | avoid | left | right | |||||
Initial value: | auto | |||||
Applies to: | Block-level elements | |||||
IE, Mozilla, and Safari only support the | ||||||
page-break-after | 2.1 | P | P | P | Y | P |
Value: | auto | always | avoid | left | right | |||||
Initial value: | auto | |||||
Applies to: | Block-level elements | |||||
IE, Mozilla, and Safari only support the | ||||||
page-break-inside | 2.1 | N | N | N | Y | N |
Value: | avoid | auto | |||||
Initial value: | auto | |||||
Applies to: | Block-level elements | |||||
page | 2.1 | N | N | N | N | N |
Value: | <identifier> | auto | |||||
Initial value: | auto | |||||
Applies to: | Block-level elements. | |||||
orphans | 2.1 | N | N | N | Y | N |
Value: | <integer> | |||||
Initial value: | 2 | |||||
Applies to: | Block-level elements | |||||
widows | 2.1 | N | N | N | Y | N |
Value: | <integer> | |||||
Initial value: | 2 | |||||
Applies to: | Block-level elements |
The following selections of properties are Microsoft proprietary extensions to CSS and are not part of any W3C standard.
Supported Since | |
---|---|
Filter | IE 5.5 |
Value: | See below |
Applies to: | All elements |
Inherited: | No |
The filter property is a complicated property that provides effects like transparency, gradients, or an array of other effects that are only available for Windows versions of Internet Explorer. For a complete reference, visit the following URLs. Introduction to filters: Filter reference: |
Property | Supported Since |
---|---|
scrollbar-3dlight-color scrollbar-arrow-color scrollbar-base-color scrollbar-darkshadow-color scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color | IE 5.5, Opera 7 |
Value: | <color> |
Applies to: | Any object where a scroll bar is applied |
Inherited: | Yes |
In Opera, custom scroll bar colors are turned off by default. Custom scroll bar colors are only applied if the user has them turned on in the Opera preferences panel. | |
zoom | IE 5.5 |
Value: | normal | <number> | <percentage> |
Applies to: | Any object where a scroll bar is applied |
Inherited: | Yes |
The following selections of CSS features are Gecko proprietary extensions to CSS, which apply to the Mozilla, Netscape, and Firefox family of browsers and are not part of any W3C standard.
When new CSS features are added in Gecko, they usually undergo a testing period where they are prefixed with the Mozilla vendor specific prefix "-moz-", which is the W3C recommended method of deploying proprietary extensions to CSS, or CSS features not yet finalized in an official W3C CSS recommendation. This prefix remains in place until the functionality is finalized in a W3C CSS recommendation, or until bugs can be worked out with the implementation in such a way that Gecko's (or any other browser's) implementation can be expected to follow the W3C definition of what that feature provides.
Features such as these should be used with the understanding that they can be completely changed or removed without notice in future Gecko releases.
The following tables show the version of Gecko in which a particular feature was added. If previous to Mozilla 1.0, Netscape 6 is provided as the version; if the feature was added in Mozilla 1.0 or later (before the arrival of Firefox 1.0), the version of Mozilla is indicated. Be sure to keep in mind the relationships between the Netscape, Mozilla, and Firefox browsers as shown in the tables in Chapter 1.
Pseudo-Element | Supported Since |
---|---|
::-moz-selection | Mozilla 1.5 |
Identical to the CSS 3 |
Supported Since | ||
---|---|---|
NS 6 | ||
Value | <alphavalue> | <percentage> | |
Initial value: | Visible | |
Applies to: | Block-level and replaced elements | |
Inherited: | Yes | |
Similar to the CSS 3 opacity property except the CSS 3 opacity property is not inherited. <alphavalue> refers to a floating integer between 0.0 (fully transparent) and 1.0 (fully opaque).
|
Property | Supported Since |
---|---|
-moz-border-radius-topleft -moz-border-radius-topright -moz-border-radius-bottom-left -moz-border-radius-bottom-right | NS 6 |
Value | <length> | <percentage> |
Initial value: | 0 |
Applies to: | All elements |
Inherited: | No |
Applies rounded corners to box borders. Similar to the | |
-moz-border-radius | NS6 |
Value | [ <length> | <percentage> ] {1,4} |
Initial value: | 0 |
Applies to: | All elements |
Inherited: | No |
Applies rounded corners to box borders. A similar | |
-moz-border-right-colors -moz-border-bottom-colors -moz-border-left-colors | NS6 |
Value | <color>+ | none |
Initial value: | None |
Applies to: | All elements |
Inherited: | No |
Provides a color striping effect for borders, where one or more |
Firefox version 1.5 and later support the CSS 2 outline
property, and it's derivatives. Use the following proprietary syntax for versions of Firefox previous to 1.5. There is a slight difference between -moz-outline
and outline
, in that the former paints the outline on the inside of the element's border, whereas the latter paints the outline on the outside of the element's border (per the CSS 2 specification).
Property | Supported Since |
---|---|
-moz-outline-color | NS 6 |
Value: | <color> | invert |
Applies to: | All elements |
Inherited: | No |
-moz-outline-style | NS 6 |
Value: | <border-style> |
Applies to: | All elements |
Inherited: | No |
-moz-outline-width | NS 6 |
Value: | <border-width> |
Applies to: | All elements |
Inherited: | No |
NS 6 | |
Value: | <-moz-outline-color> || <-moz-outline-style> | <-moz-outline-width> |
Applies to: | All elements |
Inherited: | No |
-moz-user-select | NS 6 |
Value: | none | text | element | elements | all | toggle | tri-state | -moz-all |
Initial value: | all |
Applies to: | All elements |
Inherited: | Yes |
This property is used in Gecko browsers to control whether a user can select text or elements on the page by holding down the mouse button and dragging the cursor. |
As of Firefox 1.5, the Gecko engine includes experimental support for CSS 3 multicolumn properties.
Property | Supported Since |
---|---|
-moz-column-width | FF 1.5 |
Value: | <length> | auto |
Initial value: | auto |
Applies to: | Block-level elements |
Inherited: | No |
-moz-column-count | FF 1.5 |
Value: | <integer> | auto |
Initial value: | auto |
Applies to: | Block-level elements |
Inherited: | No |
-moz-columns | FF 1.5 |
Value: | [[ <integer> | auto] || [ <length> | auto]] |
Initial value: | See |
Applies to: | Block-level elements |
Inherited: | No |
-moz-column-gap | FF 1.5 |
Value: | <length> | normal |
Initial value: | normal |
Applies to: | Block-level elements |
Inherited: | No |
Some of the following Apple Webkit (Safari) extensions have not landed in an official release of Safari, at the time of this writing. Currently, the released version of Safari is 2.0.4. Some of the following features are expected to be released with the next version of Safari, which will be included in Mac OS X Leopard, and will most likely be Safari 3.0.
If you would like to try the following Safari extensions not yet in an official, stable version of Safari, you can do so by downloading a nightly build of Safari from http://www.webkit.org
.
All of the following properties appear in the CSS 3 standard currently under development by the W3C.
Property | Supported Since |
---|---|
-khtml-border-radius | ? |
Value: | <length> <length>? |
Initial value: | 0 |
Applies to: | All elements except table elements when |
Inherited: | No |
-khtml-background-origin | ? |
Value: | [border | padding | content] [, [border | padding | content]]* |
Initial value: | border |
Applies to: | All elements |
Inherited: | No |
? | |
Value: | [border | padding] [, [border | padding]]* |
Initial value: | border |
Applies to: | All elements |
Inherited: | No |
-khtml-border-image | ? |
Value: | none | <uri> [<number> | <percentage>]{4} [ / <border-width>{l,4} ]? [stretch | repeat | round] {0,2} |
Initial value: | none |
Applies to: | All elements |
Inherited: | No |
Webkit supports the ability to apply multiple background images to a single element, as per the CSS 3 Backgrounds and Borders Module Working Draft. | |
background-image | Safari 2.0 |
Value: | <uri> [ , <uri> ]* | none |
Initial value: | none |
Applies to: | All elements |
Inherited: | No |
background-repeat | Safari 2.0 |
Value: | <repeat> [ , <repeat> ]* |
Initial value: | repeat |
Applies to: | All elements |
Inherited: | No |
The value <repeat> stands for: repeat-x | repeat-y | [repeat | space | no-repeat]{1,2}. | |
background-attachment | Safari 2.0 |
Value: | scroll | fixed | local [, scroll | fixed | local]* |
Initial value: | scroll |
Applies to: | All elements |
Inherited: | No |
background-position | Safari 2.0 |
Value: | <bg-position> [ , <bg-position> ]* |
Initial value: | 0% 0% |
Applies to: | All elements |
Inherited: | No |
<bg-position> stands for: [ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | |
background | Safari 2.0 |
Value: | [ <bg-layer> , ]* <final-bg-layer> |
Initial value: | See individual properties |
Applies to: | All elements |
Inherited: | No |
<bg-layer> stands for: <'background-image'> && [ ( <'background-size'> ) ]? && <'background-repeat'>? && <'background-position'>? && <'background-attachment'>? && [ <'background-clip'> <'background-origin'>? ]? | |
<final-bg-layer> stands for: <'background-image'> || ( <'background-size'> ) || <'background-repeat'> || <'background-position'> || <'background-attachment'> || [ <'background-clip'> <'background-origin'>? ] || <'background-color'> |
3.133.140.79