Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
compact
Collapse the table of content
Expand the table of content

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

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

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.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft