Contents Index Topic Contents | ||
Previous Topic: height Next Topic: Hidden |
height
Description
Sets or retrieves the height of the element.
Syntax
object.height
Remarks
Percentage values are based on the width of the parent element. 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 element, 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 element, but read-only for other elements.
For more information on how to access the dimension and location of elements on the page through the document object model, see Measuring Element Dimension and Location.
Applies To
EMBED, FRAME, IMG, MARQUEE, OBJECT, TABLESee Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.