Image hspace property
Image Object
Definition and Usage
The hspace property sets or returns the value of the hspace attribute of an image.
The hspace attribute specifies the whitespace on the left and right edges of the image.
Syntax
imageObject.hspace=
pixels
Browser support





All major browsers support the hspace 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