Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

vspace property

Sets or retrieves the vertical margin for the object.



HRESULT value = object.put_vspace( v);HRESULT value = object.get_vspace(* p);

Property values

Type: long

the vertical margin, in pixels.

Standards information


This property is similar to the IHTMLInputElement::border property, except the margins do not have color when the object 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




Community Additions

© 2015 Microsoft