July 1998
Intermediate to advanced
1456 pages
65h 5m
English
hspace, vspace — NN n/a IE 4 DOM n/a
Read/Write
The pixel measure of horizontal and vertical margins surrounding an
applet. The hspace property affects the left and
right edges of the element equally; the vspace
affects the top and bottom edges of the element equally. These
margins are not the same as margins set by style sheets, but they
have the same visual effect. To change these property values, you
must access the element via its element ID rather than its name.
document.all.myApplet.hspace = 5 document.all.myApplet.vspace = 8
Integer of pixel count.
0
Read now
Unlock full access