Language References
Sets or retrieves the vertical margin for the object.
Inline |
<element VSPACE = iMargin...> |
Script |
object.vspace = iMargin ] |
iMargin |
Integer value representing the vertical margin, in pixels. |
The property is read/write with no default value.
This attribute specifies the amount of white space to be inserted above and below an IMG, APPLET, or OBJECT.
In addition, the property can be used in IFRAME and MARQUEE objects in Internet Explorer®.
This attribute has been deprecated in favor of the CSS margin-top, margin-bottom, padding-top and padding-bottom properties.
APPLET, IFRAME, IMG, MARQUEE, OBJECT
hspace