Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.