javascript DIV noWrap

noWrap NN n/a IE 4 DOM n/a  

 

Read/Write  

Specifies whether the browser should render the DIV element as wide as is necessary to display a line of nonbreaking text on one line. Abuse of this attribute can force the user into a great deal of inconvenient horizontal scrolling of the page to view all of the content. The corresponding attribute is deprecated.

 
Example
 
document.getElementById("wideDiv").noWrap = "true";
 
Value

Boolean value: true | false.

 
Default

false


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