This property specifies the horizontal indent from the left side of the current parent Block Element for the first line in the current Block. The indent is only applied at the beginning of the block and not after any intervening line-breaking elements (like BR.)
Note: Negative values are allowed. The first line will be indented to
the left if the value is negative.
Examples
| p {text-indent: 18px}
p {text-indent: -11px} |
Possible Values
| Value | Description |
|---|---|
| inherit | Explicitly sets the value of this property to that of the parent |
| length | Defines a fixed indentation |
| % | Defines an indentation in % of the width of the parent element |


December 7th, 2007 at 4:47 am
Hi,
How do I get an indent on right-left text? I have tried a negative but doesn´t seem to work.
James