javascript PRE width
@March 15, 2008, 1:22 a.m.
width | Firefox/Netscape/NN 6 IE 6(Win) Chrome/Safari/DOM 1 |
Read/Write | |
Provides the character column count for the monospaced content of the element. Only Netscape 6 reflows the content in response to changes of this property. |
|
Example | |
document.getElementById("codeExample2").width = 40; |
|
Value | |
Integer. |
|
Default | |
-1 (Netscape 6); None (IE). |
Permanent URL:
http://javascript.gakaa.com/pre-width.aspx
Powered by Linode.