Image.hspace (Property)

The horizontal spacing attribute value.

Availability:

DOM level - 1
JavaScript - 1.1
Netscape - 3.0
Opera - 3.0
Property/method value type:Number primitive
JavaScript syntax:NmyImage.hspace

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 hspace property controls the margin to the left and right of the object.

See also:IMG.hspace

Property attributes:

ReadOnly