Name
HSPACE, VSPACE — NN n/a IE 3 HTML 4
Synopsis
HSPACE=pixelCount
VSPACE=pixelCount
Optional
A margin that acts as whitespace padding around the visual content of
the OBJECT
element’s rectangular space.
HSPACE
establishes a margin on the left and right
sides of the rectangle; VSPACE
establishes a
margin on the top and bottom sides of the rectangle.
Example
<OBJECT DATA="blues.aif" HEIGHT=150 WIDTH=250 VSPACE=10 HSPACE=10></OBJECT>
Value
Integer representing the number of pixels for the width of the margin
on the relevant sides of the OBJECT
element’s rectangle.
Default
0
Object Model Reference
- IE
[window.]document.elementID.hspace
[window.]document.elementID.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.