OBJECT.vspace (Property)

A vertical spacing above and below the <OBJECT> with respect to its adjacent objects.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myOBJECT.vspace

Margins placed around objects are either modified separately with all four margin sides having a different property or by adjusting the horizontal margins and vertical margins using just two values.

The vspace property controls the margin at the top and bottom of the object.