compact property
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( v);HRESULT value = object.get_compact(* p);
Property values
Type: VARIANT_BOOL
-
Removes extra space between objects in list.
-
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 IHTMLListElement2::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.
Show: