whiteSpace property
[This documentation is preliminary and is subject to change.]
Sets or retrieves a value that indicates whether lines are automatically broken inside the object.
Integer value = object.put_whiteSpace(BSTR v);Integer value = object.get_whiteSpace(BSTR* sWrap);
Type: BSTR
normal (normal)
Default. Lines of text break automatically. Content wraps to the next line if it exceeds the width of the object.
nowrap (nowrap)
Line breaks are suppressed. Content does not wrap to the next line.
Applies To | All elements |
Media | visual |
Inherited | 1 |
Initial Value |
Whitespace, such as line breaks, spaces, and tabs, is collapsed by default in HTML documents. You can use the nonbreaking space entity ( )
to add extra spaces to an object when the white-space property is set to normal or nowrap. You can add extra line breaks using the br element.
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |
Reference
Other Resources
CSS Enhancements in Internet Explorer 6
Build date: 1/23/2012