Image vspace property
Image Object
Definition and Usage
The vspace property sets or returns the whitespace at the top and bottom of the image.
The space and vspace properties can be used with align to set the distance between the image and the surrounding text.
Syntax
imageObject.vspace=
pixels
Browser support





All major browsers support the vspace property
Example
Example
The following example sets the hspace and vspace attributes of the image:
Some text. Some text. Some text. Some text.
Try it »
Image Object