pixelHeightpixelHeight*
*Contents  *Index  *Topic Contents
*Previous Topic: pathname
*Next Topic: pixelLeft

pixelHeight

Description

Sets or retrieves the height of the element, in pixels. Unlike the height property, this property's value is an integer, not a string, and is always interpreted in pixels.

Syntax

object.pixelHeight[ = pixelHeight]

Settings

This read-write property can be any integer value. Setting this property changes the value of the height without changing the units designator.

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.

Applies To

style

CSS Attribute

height

See Also

posHeight


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