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
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.