javascript HR width
@March 15, 2008, 1:22 a.m.
width | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read/Write | |
Provides the width of the rule either in pixels (as an integer) or a percentage (as a string) of the next outermost block-level container. |
|
Example | |
document.getElementById("bar3").width = "70%"; |
|
Value | |
Integer (for pixels) or string (for pixels or percentage). |
|
Default | |
100% |
Permanent URL:
http://javascript.gakaa.com/hr-width.aspx
Powered by Linode.