'compact' Syntax and Note : compact « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- compact
'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