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