Export (0) Print
Expand All
top
Expand Minimize
This topic has not yet been rated - Rate this topic

textIndent property

Sets or retrieves the indentation of the first line of text in the object.

This property is not supported for Windows Store apps using JavaScript.

CSS 2.1, Section 5.4.7

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 ToAll elements
Mediavisual
Inherited1
Initial Value0

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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.