javascript DL compact

compactNN 6 IE 4 DOM 1  

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.getElementById("maindl").compact = true;
 
Value

Boolean value: true | false.

 
Default

false


528,Nickname,Homepage or email,Comments here,Add comment