Name
HSPACE, VSPACE — NN 2 IE 3 HTML 3.2
Synopsis
HSPACE=”pixels"VSPACE=”pixels"Optional
You can put some empty space (“air”) between an applet
and any surrounding content by assigning pixel values to the
HSPACE and VSPACE attributes.
The VSPACE attribute governs space above and below
the applet; the HSPACE attribute governs space to
the left and right of the applet. For browsers that are style sheet
savvy, you are perhaps better served by using the padding and/or
margin style attributes to gain control down to individual sides, if
you so desire.
Example
<APPLET CODE="ScriptableClock.class" WIDTH=400 HEIGHT=50 HSPACE=3 VSPACE=4> </APPLET>
Value
Positive integer pixel values (optionally quoted).
Default
0
Object Model Reference
- IE
[window.]document.applets[i].hspace
[window.]document.appletName.hspace
[window.]document.applets[i].vspace
[window.]document.appletName.vspace
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access