Applet.hspace (Property)

The width of the horizontal margin spacing around an Applet object.


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