Language References
Sets or retrieves the calculated height of the object, in pixels.
Inline |
<element height = iHeight [ % ] ... > |
Script |
object.height = iHeight ] |
iHeight |
Integer specifying height, in pixels. |
iHeight%
| Value expressed as a percentage of the parent object’s height. |
The property is read/write with no default value.
Percentage values are based on the height of the parent object.
When scripting the height property, use either the pixelHeight or posHeight property for numeric manipulation of a height value.
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.
If the value of the corresponding HTML attribute was set using a percentage, this property specifies the height in pixels represented by that percentage.
The scripting property is read/write for the IMG object, but read-only for other objects.
For more information on how to access the dimension and location of objects on the page through the Document Object Model, see Measuring Element Dimension and Location.
EMBED FRAME IMG MARQUEE OBJECT TABLE VIDEO
width