Javascript Reference
Categories: TD

javascript TD noWrap

@March 15, 2008, 1:22 a.m.
noWrapFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Indicates whether the browser should render the cell 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("myTD").noWrap = "true";
 
Value

Boolean value: true | false.

 
Default

false


Powered by Linode.