This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.



Sets or retrieves the horizontal margin for the object.

Applies to ?
## Notes


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.


Standards information

See also

Related pages

  • applet
  • iframe
  • img
  • input
  • input type=image
  • marquee
  • object
  • vspacevspace