top
Expand Minimize

wordSpacing property

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

CSS 2.1, Section 5.4.1Internet Explorer 9

 

Syntax

Integer value = object.put_wordSpacing(Variant v);Integer value = object.get_wordSpacing(Variant* sSpacing);

Property values

Type: VARIANT

normal (normal)

Default. Default spacing.

length (length)

float 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>

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

Remarks

The IHTMLCSSStyleDeclaration::wordSpacing property is available on Macintosh beginning with Microsoft Internet Explorer 4.01. It is available for other platforms beginning with Microsoft Internet Explorer 6.

This attribute adds the specified spacing after each word. Justification can influence word spacing.

The length value indicates an addition to the default space between words. Negative values are permitted.

In Internet Explorer 6, This property now applies to the currentStyle element.

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

See also

CSS Enhancements in Internet Explorer 6

 

 

Community Additions

ADD
Show:
© 2014 Microsoft