The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Sets or retrieves the horizontal margin for the object.
Syntax
| HTML | <element hspace="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Integer
the horizontal margin, in pixels.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 13.7.2 (Deprecated)
Remarks
This property is similar to the border property, except the margins do not have color when the element is a link.
When this property is set dynamically for an img or iframe object, the property value will be updated but the display will show no visible change.
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012