2.3.1.29 height

height of type DOMString

Sets or retrieves the height of the object.

Possible values are:

  • height - Integer that specifies the height of the object, in pixels.

  • percentage - Integer, followed by a percent sign (%). The value is a percentage of the height of the parent object.

Percentage values are based on the height of the parent object.

When scripting the height property, use either the pixelHeight or posHeight property to numerically manipulate the height value.

If dynamic changes are intended for the height and width, the original values should be set through style (for example, "style=''height:200px; width:200px'') rather than through the height and width attributes.

This property specifies the calculated height of the object, in pixels. For table rows and table cells, this property has a range of 0 to 32750 pixels.

This attribute extends the following interfaces:

Show: