Back to CSS1 Reference | CSS1 Properties
Prev text-decoration | Next text-transform


Property
text-indent
Values
<length>, <percentage>
Initial
0
Inherited
yes

The property specifies the indentation that appears before the first formatted line. The value of 'text-indent' may be negative, but there may be implementation-specific limits. An indentation is not inserted in the middle of an element that was broken by another (such as 'BR' in HTML).

Example:

      P { text-indent: 3em }

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