Click to return to the DHTML, HTML     
href Property     FOR Attribute | htmlFor P...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

HSPACE Attribute | hspace Property


Sets or retrieves the horizontal margin for the object.

Syntax

HTML<ELEMENT HSPACE = iMargin ... >
Scriptingobject.hspace [ = iMargin ]

Possible Values

iMarginInteger that specifies the horizontal margin, in pixels.

The property is read/write with a default value of 0.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.

Remarks

This property is similar to the border property, except the margins don't have color when the element is a link.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

APPLET, IFRAME, IMG, MARQUEE, OBJECT

See Also

vspace



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.