| 1 | = Property index = |
---|
| 2 | |
---|
| 3 | Following is a full index of properties recognised by RCSS. The '''Notes''' column details important changes from the CSS specification. |
---|
| 4 | |
---|
| 5 | || '''Name''' || '''Values''' || '''Initial value''' || '''Applies to''' || '''Inherited?''' || '''Percentages''' || '''Notes''' || |
---|
| 6 | || 'background' || 'background-color' || || || || || Excludes images. || |
---|
| 7 | || 'background-color' || <colour> || transparent || all || no || || || |
---|
| 8 | || 'border-color' || 'border-top-color' 'border-right-color' 'border-bottom-color' 'border-left-color' || || || || || || |
---|
| 9 | || 'border-top' 'border-right' 'border-bottom' 'border-left' || 'border-<edge>-width' 'border-<edge>-color' || || || || || Excludes border style. || |
---|
| 10 | || 'border-top-color' 'border-right-color' 'border-bottom-color' 'border-left-color' || <color> || black || all || no || N/A || || |
---|
| 11 | || 'border-top-width' 'border-right-width' 'border-bottom-width' 'border-left-width' || <length> | <percentage> || 0px || all || no || width of containing block || || |
---|
| 12 | || 'border-width' || 'border-top-width' 'border-right-width' 'border-bottom-width' 'border-left-width' || || all || || || || |
---|
| 13 | || 'bottom' || <length> | <percentage> || 0px || positioned elements || no || height of containing block || No 'auto'. || |
---|
| 14 | || 'clear' || left | right | both | none || none || block-level elements || no || N/A || || |
---|
| 15 | || 'clip' || <number> | auto | none || auto || all || yes || N/A || Controls interaction with ancestor element's clipping regions. || |
---|
| 16 | || 'color' || <colour> || black || all || yes || N/A || || |
---|
| 17 | || 'cursor' || <string> | auto || auto || all || yes || N/A || <string> refers to title of cursor document. || |
---|
| 18 | || 'display' || inline | block | inline-block | none || inline || all || no || N/A || || |
---|
| 19 | || 'drag' || none | drag | drag-drop | block || none || all || no || N/A || Introduced for RCSS. Controls generation of drag messages. || |
---|
| 20 | || 'font' || 'font-style' 'font-weight' 'font-size' 'font-family' 'font-charset' || || || || || || |
---|
| 21 | || 'font-charset' || <urange> || U+0020-007E || all || yes || N/A || Introduced for RCSS. Specifies required range of characters. || |
---|
| 22 | || 'font-family' || <string> || || all || yes || N/A || Only single family supported. || |
---|
| 23 | || 'font-size' || <number> | <percentage> || 12 || all || yes || size of parent font || || |
---|
| 24 | || 'font-style' || normal | italic || normal || all || yes || N/A || 'oblique' not supported. || |
---|
| 25 | || 'font-weight' || normal | bold || normal || all || yes || N/A || Intermediate weights not supported. || |
---|
| 26 | || 'height' || <length> | <percentage> | auto || auto || block and replaced inline elements || no || height of containing block || || |
---|
| 27 | || 'left' || <length> | <percentage> || 0px || positioned elements || no || width of containing block || No 'auto'. || |
---|
| 28 | || 'line-height' || <number> | <length> | <percentage> || 1.2 || all || yes || font size || 'normal' not supported. || |
---|
| 29 | || 'margin' || 'margin-top' 'margin-right' 'margin-bottom' 'margin-left' || || || || || || |
---|
| 30 | || 'margin-top' 'margin-right' 'margin-bottom' 'margin-left' || <length> | <percentage> | auto || 0px || all || no || width of containing block || || |
---|
| 31 | || 'max-height' || <length> | <percentage> || -1 || block and replaced inline elements || no || height of containing block || 'none' not supported, use negative numbers instead. || |
---|
| 32 | || 'min-height' || <length> | <percentage> || 0px || block and replaced inline elements || no || height of containing block || || |
---|
| 33 | || 'max-width' || <length> | <percentage> || -1 || block and replaced inline elements || no || width of containing block || 'none' not supported, use negative numbers instead. || |
---|
| 34 | || 'min-width' || <length> | <percentage> || 0px || block and replaced inline elements || no || width of containing block || || |
---|
| 35 | || 'overflow' || 'overflow-x' 'overflow-y' || || || || || || |
---|
| 36 | || 'overflow-x' || visible | hidden | scroll | auto || visible || block elements || no || N/A || Content clipped if either axis is not 'visible'. || |
---|
| 37 | || 'overflow-y' || visible | hidden | scroll | auto || visible || block elements || no || N/A || Content clipped if either axis is not 'visible'. || |
---|
| 38 | || 'padding' || 'padding-top' 'padding-right' 'padding-bottom' 'padding-left' || || || || || || |
---|
| 39 | || 'padding-top' 'padding-right' 'padding-bottom' 'padding-left' || <length> | <percentage> || 0px || all || no || width of containing block || || |
---|
| 40 | || 'position' || static | relative | absolute | fixed || static || all || no || N/A || 'fixed' is positioned like 'absolute' but ignores scrolling. || |
---|
| 41 | || 'right' || <length> | <percentage> || 0px || positioned elements || no || width of containing block || No 'auto'. || |
---|
| 42 | || 'scrollbar-margin' || <length> || 0px || scrollbar-horizontal and scrollbar-vertical elements || no || N/A || Introduced for RCSS. Specifies a bottom / right margin (depending on orientation) that will collapse with the scrollbar on the complementary axis. || |
---|
| 43 | || 'tab-index' || none | auto || none || all || yes || N/A || Introduced for RCSS. Controls order of focus switching when the tab key is pressed. || |
---|
| 44 | || 'text-align' || left | right | center || left || block-level elements || yes || N/A || 'justify' not supported. || |
---|
| 45 | || 'text-decoration' || underline | none || none || all || yes || N/A || 'overline', 'line-through' not supported. || |
---|
| 46 | || 'text-shadow' || 'text-shadow-x' 'text-shadow-y' 'text-shadow-color' || || || || || Only single shadow supported. Blur not supported. || |
---|
| 47 | || 'text-shadow-color' || <color> || black || all || yes || N/A || || |
---|
| 48 | || 'text-shadow-x' 'text-shadow-y' || <length> || 0px || all || yes || N/A || || |
---|
| 49 | || 'top' || <length> | <percentage> || 0px || positioned elements || no || height of containing block || No 'auto'. || |
---|
| 50 | || 'vertical-align' || baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length> || baseline || inline-level elements || no || line-height || || |
---|
| 51 | || 'visibility' || visible | hidden || visible || all || no || N/A || || |
---|
| 52 | || 'white-space' || normal | pre | nowrap | pre-wrap | pre-line || normal || block-level elements || yes || N/A || 'pre-wrap' and 'pre-line' from CSS3. || |
---|
| 53 | || 'width' || <length> | <percentage> | auto || auto || block and replaced inline elements || no || width of containing block || || |
---|
| 54 | || 'z-index' || <number> | auto | top | bottom || auto || all || no || N/A || Applies to all elements. 'top' and 'bottom' introduced. For documents, 'auto' allows gaining of focus, others will prevent. || |