wordSpacing property
Specifies the amount of additional space between words in the object.
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 To | All elements |
Media | visual |
Inherited | 1 |
Initial Value |
Standards information
- CSS 2.1, Section 5.4.1
Remarks
The IHTMLRuleStyle::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 |
Minimum supported server |
Windows Server 2003 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |