Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

setHeight Method 

Sets the height of the control.

[JavaScript]
Control.setHeight(height)

Parameters

height
The new height in pixel.

Remarks

In standards-compliant mode, this method sets the control's root element's content box height, which is the distance between the top and bottom edge of the inner box. On the other hand, getOffsetHeight returns the width of the outter box, which can be a greater value.

See Also

Control Object


Direct link to this topic