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.

p { text-indent: 18px }  p { text-indent: -11px }
Possible Values
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

Go Back