letterSpacing

letterSpacing property

Specifies the amount of additional space between letters in the object.

CSS 2.1, Section 5.4.2Internet Explorer 9

 

Syntax

Integer value = object.put_letterSpacing(Variant v);Integer value = object.get_letterSpacing(Variant* sSpacing);

Property values

Type: VARIANT

normal (normal)

Default. Default spacing.

length (length)

Floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see CSS Values and Units Reference.

String format

normal | <length> | inherit

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

Remarks

When specified as a positive length value, the IHTMLCurrentStyle::letterSpacing attribute adds the specified value to the default spacing between characters within an element. A negative length value decreases the space between characters. Letter spacing can be influenced by justification.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Show:
© 2016 Microsoft