The object space is defined by an extent rectangle that surrounds the space occupied by it on the screen. An extent rectangle is that smallest rectangle that completely encloses the item. This property specifies the height of that extent rectangle.
When used to read the height on an object, this returns a value in pixel units with the px suffix.
You can also use this property to change the height of a styled element.
The normal range of values specified in measurement units can be used. You can also assign the auto keyword to let the browser deduce the height of an object from the document source.
Note that not all styled elements can be resized by assigning a new value to this property.
Prev | Home | Next |
style.getExpression() | Up | style.imeMode |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |