textIndent property

Specifies the indentation of the first line of text in the object.

This property is not supported for Windows apps using JavaScript.

 

Syntax

Integer value = object.put_textIndent(Variant v);Integer value = object.get_textIndent(Variant* sIndent);

Property values

Type: VARIANT

one of the values listed in Possible Values.

percentage (percentage)

Integer, followed by a percent sign (%). This value is a percentage of the width of the parent object.

String format

<length> | <percentage> | inherit

CSS information

Applies To All elements
Media visual
Inherited 1
Initial Value 0

Standards information

Remarks

The property can be negative. An indent is not inserted in the middle of an object that was broken by another object, such as br in HTML.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll