Name |
Values |
Initial value |
Applies to |
Percentages |
Page |
margin |
<'margin-width'>{1,4} | inherent |
0 |
|
refer to width of CB |
192 |
margin-top |
<'margin-width'> | inherit |
0 |
|
refer to width of containing block |
193 |
margin-right |
|
|
|
|
|
margin-bottom |
|
|
|
|
|
margin-left |
|
|
|
|
|
marker-offset |
<'length'> | auto |inherit |
auto |
elements with'display:marker' |
|
165 |
marks |
|
[crop || cross] | none | inherit |
none |
page content |
274 |
max-height |
<'length'> | <'percentage'> | auto | inherit |
none |
3) |
refer to height of containing block (CB) |
217 |
max-width |
<'length'> | <'percentage'> | auto | inherit |
none |
3) |
refer to height of containing block (CB) |
217 |
min-height |
<'length'> | <'percentage'> | auto | inherit |
0 |
3) |
refer to height of containing block (CB) |
217 |
min-width |
<'length'> | <'percentage'> | auto | inherit |
browser dependent |
3) |
refer to height of containing block (CB) |
217 |
orphans † |
<'integer'> | inherit |
2 |
block-level elem. |
|
209 |
outline |
[<'outline-color'> || <'outline-style'> || <'outline-width'> ] | inherit |
see individual properties |
|
|
209 |
outline-color |
<'color'> | invert | inherit |
invert |
|
|
209 |
outline-style |
<'border-style'> | inherit |
none |
|
|
208 |
outline-width |
<'border-width'> | inherit |
medium |
block level & replace elem. |
|
208 |
overflow |
visible | hidden | scroll | auto | inherit |
visible |
block-level & replaced elem. |
|
222 |
padding |
<'padding-width'>{1,4} | inherit |
0 |
|
refer to width of CB |
197 |
padding-top |
<'padding-width'> | inherit |
0 |
|
refer to width of containing block |
197 |
padding-right |
|
|
|
|
|
padding-bottom |
|
|
|
|
|
padding-left |
|
|
|
|
|
page † |
<'identifier'> | auto |
auto |
block-level elem. |
|
275 |
page-break-after |
auto | always | avoid | left | right | inherit |
auto |
block-level element |
|
266 |
page-break-before |
auto | always | avoid | left | right | inherit |
auto |
block-level element |
|
265 |
page-break-inside † |
avoid | auto | inherit |
auto |
block-level element |
|
266 |
position |
static | relative | absolute | fixed | inherit |
static |
|
|
227 |
quotes † |
[<'string'><'string'>]+ | none | inherit |
browser dependent |
|
|
159 |
right |
<'length'> | <'percentage'> | auto | inherit |
auto |
positioned elements |
refer to width of CB |
213 |
size |
<'length'>{1,2} | auto | portrait | landscape | inherit |
auto |
positioned elements |
refer to width of CB |
213 |
table-layout |
auto | fixed | inherit |
auto |
page context |
|
257 |
text-align † |
left | right | center | justify | <'string'> | inherit |
7) |
block-level elem. |
|
162 |
text-decoration2) |
none | [underline || overline || line-through || blink ] inherit |
none |
|
|
113 |
text-indent † |
<'length'> | <'percentage'> | inherit |
0 |
block-level elem. |
refer to width of CB |
213 |
text-shadow2) |
none | [<'color'> || <'length'><'length'><'length'>?,] | inherit |
none |
|
|
224 |
text-transform † |
capitalize | uppercase | lowercase | none | inherit |
none |
|
|
244 |
top |
<'length'> | <'percentage'> | auto | inherit |
auto |
positioned elem. |
refer to 'line-height' of elem. |
344 |
visibilty |
visible | hidden | collapse | inherit |
inherit |
|
|
222 |
white-space † |
normal | pre | nowrap | inherit |
normal |
block-level elem. |
|
156 |
widows † |
<'integer'> | inherit |
2 |
block-level elem. |
|
251 |
width |
<'length'> | <'percentage'> | auto | inherit |
auto |
6) |
refer to width of CB |
212 |
word-spacing † |
normal | <'length'> | inherit |
normal |
|
|
171 |
z-index |
auto | <'integer'> | inherit |
auto |
positioned elem. |
|
222 |
† inherit CB containing block |
1) default: applies to all elements |
2) see text for effect on child elements |
3) applies to all elements except non-replaced inline elements and table elements |
4) the computed value is inherited |
5) applies to all elements but non-replaced inline elements, table column, column groups |
6) applies to all elements but non-replaced inline elements, table rows, row groups |
7) depends on browser and writing directions; usually left for English text |
8) uni-code-bidi and direction control right-to-left and mixed-direction text, such as Arabic and Hebrew. Clip is currently undergoing revision. Cursor
set the shape of the mouse pointer. They are not described in this book. |
9) refer to the size of the box itself |