Name
compact — NN n/a IE 4 DOM 1
Synopsis
Read/Write
When set to true
, the compact
property instructs the browser to render a related
DT
and DD
pair on the same line
if space allows. This compact styling is intended for
DT
elements consisting of only a few characters.
Example
document.all.tags("DL").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.