text-indenttext-indent*
*



Contents  *



Index  *Topic Contents
*Previous Topic: text-decoration
*Next Topic: text-transform

text-indent

Description

Specifies the indent that appears before the first formatted line. This property can be negative. An indent is not inserted in the middle of an element that was broken by another (such as BR in HTML).

Syntax

{ text-indent: length | percentage}

Remarks

This attribute is inherited.

Example

This example indents text by 3 ems.

P { text-indent: 3em }

Applies To

BLOCKQUOTE, BODY, CENTER, DD, DIR, DIV, DL, DT, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, TABLE, TD, TH, TR, UL, XMP

Scripting Property

textIndent


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.