CSS Property: text-indent
[this page | pdf | back links]
The CSS (CSS1) text-indent property determines the
indentation applied to the first line of text in an element. Negative values
are allowed (making it possible in effect to indent all but the first line, if
the element is sized appropriately).
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
length
|
A CSS length
|
|
%
|
Indentation defined in
terms of % of width of the parent element
|
|
Default Value:
|
0
|
|
JavaScript syntax:
|
e.g. object.style.textIndent="20px"
|
|
Inherited:
|
Yes
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties