IMG.vspace (Property)

The vertical margin above and below the image.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 3.0
Property/method value type:String primitive
JavaScript syntax:-myIMG.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.

See also:Image.vspace