Javascript Reference
Categories: DT

javascript DT noWrap

@July 7, 2008, 4:12 a.m.
noWrap Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

 

Read/Write  

Specifies whether the browser should render the DT 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.

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

Boolean value: true | false.

 
Default

false


Powered by Linode.