# Property Description

The text-indent property sets the indentation of the first line in a text-block.

Note: If the value is negative, the first line will be indented to the left.

# Property Values

Value | Description
--- | ---
length | Defines a fixed indentation in px, pt, cm, em, etc.
% | Defines the indentation in % of the width of the parent element
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example shows how to indent the first line of paragraph elements 30 pixels.

    p {
      text-indent:30px;
    }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | Yes
Defined In: | CSS1