July 1998
Intermediate to advanced
1456 pages
65h 5m
English
posHeight, posWidth — NN n/a IE 4 DOM n/a
Read/Write
The numeric height and width of the element in the units set by the
CSS positioning-related attributes. Use these properties for
calculation instead of properties such as height
and width, which return strings including units.
All math is in the specified units. Also contrast these properties
with the pixelHeight and
pixelWidth properties, which are integer values
for pixel measures only.
document.all.myDIV.style.posWidth = 10.5
Floating-point number.
None.
Read now
Unlock full access