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

letterSpacing property

Sets or retrieves the amount of additional space between letters in the object.

CSS 2.1, Section 5.4.2

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

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.