Property
|
Values
|
Applies
to
|
inherited
|
%
values
|
|
display |
block | inline | list-item | none |
all
elements |
no |
n/a |
|
white-space |
normal | pre | nowrap |
block-level elements |
yes |
n/a |
|
list-style-type |
disc | circle | square | decimal | lower-roman | upper-roman |
lower-alpha | upper-alpha | none |
elements
with 'display' value 'list-item' |
yes |
n/a |
|
list-style-image |
none | <url> |
elements
with 'display' value 'list-item' |
yes |
n/a |
|
list-style-position |
outside | inside |
elements
with 'display' value 'list-item' |
yes |
n/a |
list-style
(shorthand property) |
<keyword> || <position> || <url>
default: not defined |
elements
with 'display' value 'list-item' |
yes |
n/a |
Positioning |
|
position |
static | absolute | relative |
all
elements |
no |
n/a |
|
left |
auto | <length> | <percentage> |
elements
with the 'position' property of type 'absolute' or 'relative' |
no |
refer to
parent element's width and height. If parent's height is set to 'auto',
percentage is undefined. |
|
top |
auto | <length> | <percentage> |
elements
with the 'position' property of type 'absolute' or 'relative' |
no |
refer to
parent element's width and height. If parent's height is set to 'auto',
percentage is undefined. |
|
z-index |
auto | <integer> |
positional elements |
no |
n/a |
|
width |
auto | <length> | <percentage> |
block-level and replaced elements, elements with 'position' property value
of 'absolute' |
no |
refer to
parent element's width and height. If parent's height is 'auto', percentage
of height is undefined |
|
height |
auto | <length> | <percentage> |
block-level and replaced elements, elements with 'position' property value
of 'absolute' |
no |
refer to
parent element's width and height. If parent's height is 'auto', percentage
of height is undefined |
|
clip |
auto | <shape> |
elements
with the 'position' property of type 'absolute' |
no |
n/a |
|
overflow |
visible | hidden | scroll | auto |
elements
with the 'position' property of type 'absolute' |
no |
n/a |
|
visibility |
inherit | visible | hidden |
all
elements |
if value
is 'inherit' |
n/a |