compact property
[This documentation is preliminary and is subject to change.]
Sets or retrieves a Boolean value indicating whether the list should be compacted by removing extra space between list objects.
Syntax
HRESULT value = object.put_compact(VARIANT_BOOL v);HRESULT value = object.get_compact(VARIANT_BOOL* p);
Property values
Type: VARIANT_BOOL
VARIANT_TRUE (true)
Removes extra space between objects in list.
VARIANT_FALSE (false)
Default. Does not remove extra space between objects in list.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 10.2 (Deprecated)
Remarks
There is no functionality implemented for the IHTMLUListElement::compact property for the ul, ol, dir and menu elements unless defined by the author.
In Microsoft Internet Explorer 6 and greater, this property applies to the menu and dir objects.
Build date: 6/12/2012