JSSTag.height (Property)

The height of an object.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.height
NmyJSSTag.height = aHeight
CSS syntax:height: aHeight
HTML syntax:<... HEIGHT="...">
Argument list:aHeightAn object height value

The JSSTag.height property corresponds to the height CSS property.

This property can be used to control the height of an object on the screen. The value can be specified as a length measured in units, a percentage of the containing block the element is located in or an "auto" value that lets the browser compute the size.

The default value for this property is "auto".

This value is not inherited from its parent container element.


See also:JSSTag.width, style.height