javascript OBJECT height, width

height, widthNN 6 IE 4 DOM 1  

Read/Write  

Provide the height and width of the element, in pixels. Changes to these values are immediately reflected in reflowed content on the page.

 
Example
 
document.getElementById("myObject").height = 250;
 
Value

Integer.

 
Default

None.


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