'compact' Syntax and Note : compact « Javascript Properties « JavaScript Reference

'compact' Syntax and Note

Note:

Read and write property. 
Remove extra spaces between a list element's items or not.
    
Syntax:
    
document.getElementById("elementID").compact = value
document.all.elementID.compact = value // IE only

    

      
      








Related examples in the same category

1.'compact' Example
2.'compact' is applied to