CSS Reference
that using relative units like ems or percentages may yield u nexpected results because
of their poor inh eritance behavior.
normal
Default Value
normal
Examples
line-height: normal;
line-height: 1.4;
line-height: 25px;
text-align (Inherited)
The text-align CSS property specifies how text or other inline conte nt is aligned
inside its parent block element. Note tha t it is not p ossible to co ntrol the alignment of
a block element with the text-align property.
Because browsers do not hyphena te text, the align ment to both the left and right en ds
of an element (obtained by applying the justify value) may cause an uneven word
spacing if lines of text are not long enough, which makes text difficult to read.
Values
left, right, center, jus tify
Default Value
left
Example
text-align: right;
text-decoration (Inherited)
The text-decoration CSS property permits authors to draw line s under, above, or
through text. The color of the line is th e same as the fo nt color of the element being
styled. The none value can be used to remove the underline that usually appears under
hyperlinks.
Values
none, underline, overline, line-thro ugh
D.3. Text Properties 347