wordSpacing property
[This documentation is preliminary and is subject to change.]
Sets or retrieves 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
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 Microsoft 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 |
See also
CSS Enhancements in Internet Explorer 6
Build date: 1/23/2012