Although this is a read and write property, it is most likely to be useful for measuring the height of an object to get a numeric value without the trailing measurement unit suffix that you get when enquiring the style.width value.
The value in this property will be an integer defined in CSS attribute defined measurement units only. Refer to the style.pixelHeight property for a more specialized value that can be operated on unambiguously using pixel values.
Prev | Home | Next |
style.posBottom | Up | style.position |
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. |