July 1998
Intermediate to advanced
1456 pages
65h 5m
English
pixelHeight, pixelWidth — NN n/a IE 4 DOM n/a
Read/Write
The height and width of the element in pixels. Use these properties
for calculation instead of properties such as
height and width, which return
strings including units. Changes to these properties may not be
visible unless the element has its position style attribute set.
var midWidth = document.all.myDIV.style.pixelWidth/2
Integer
None.
Read now
Unlock full access