Javascript Reference
Categories: OL

javascript OL compact

@July 28, 2008, 4:47 a.m.
compact Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

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 mainstream browsers.

 
Example
 
document.getElementById("myOL").compact = true;
 
Value

Boolean value: true | false.

 
Default

false

 


Powered by Linode.