asp.net.ph

Skip Navigation Links

VSPACE Attribute | vspace Property

Language References


Sets or retrieves the vertical margin for the object.

Syntax


Inline <element VSPACE = iMargin...>
Script object.vspace = iMargin ]

Possible Values


iMargin Integer value representing the vertical margin, in pixels.

The property is read/write with no default value.

Remarks

This attribute specifies the amount of white space to be inserted above and below an IMG, APPLET, or OBJECT.

In addition, the property can be used in IFRAME and MARQUEE objects in Internet Explorer®.

This attribute has been deprecated in favor of the CSS margin-top, margin-bottom, padding-top and padding-bottom properties.

Applies To

APPLET, IFRAME, IMG, MARQUEE, OBJECT

See Also

hspace



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note