The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
vspace attribute | vspace property
Sets or retrieves the vertical margin for the object.
Syntax
| HTML | <element vspace="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Integer
the vertical margin, in pixels.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 13.7.2 (Deprecated)
Remarks
This property is similar to the border property, except the margins do not have color when the object is a link.
When this property is set dynamically for an img or iframe object, the property value will be updated but the display will show no visible change.
See also
Show: