Name

compact — NN n/a IE 4 DOM 1

Synopsis

Read/Write

When set to true, the compact property should instruct the browser to render items in the list in a more compact format. This property has no effect in Internet Explorer 4 and is completely unavailable in the Macintosh version.

Example

document.all.myUL.compact = true

Value

Boolean value: true | false.

Default

false

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.