Back to CSS1 Reference
PROPERTIES | COLORS


em
the height of the element font
ex
the height of the letter 'x'
px
pixels, relative to canvas resolution
in
inches (1in = 2.54cm)
cm
centimeters (1cm = 10mm)
mm
millimeters
pt
points (1pt = 1/72in)
pc
picas (1pc = 12pt)
%
Percentage values are always relative to another value, for example a length unit. Each property that allows percentage units also defines what value the percentage value refer to. In all inherited CSS1 properties, if the value is specified as a percentage, child elements inherit the resultant value, not the percentage value.

Log in or register to write something here or to contact authors.