posHeightposHeight*
*



Contents  *



Index  *Topic Contents
*Previous Topic: port
*Next Topic: position

posHeight

Description

Sets and retrieves the height of the element in the units specified by the CSS height attribute. Unlike the height property, this property's value is a floating-point number, not a string.

Syntax

object.posHeight[ = posHeight]

Settings

This read-write property takes any valid floating-point number. Setting this property changes the value of the height but leaves the units designator for the property unchanged.

Remarks

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.

Example

The following JScript example increases the height of the first IMG element by 10 units.

document.all.tags("IMG").item(0).style.posHeight += 10;

Applies To

style

CSS Attribute

height

See Also

pixelHeight


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.