Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
letterSpacing
top
Collapse the table of content
Expand the table of content

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

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft