vspace attribute | vspace property

Information
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.
0 out of 2 rated this helpful - Rate this topic

Sets or retrieves the vertical margin for the object.

Syntax

HTML<element vspace="p" ... >
JavaScript

p = object.vspace

Property values

Type: Integer

the vertical margin, in pixels.

Standards information

Remarks

This property is similar to the 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

applet
iframe
img
marquee
object
input type=image
input
hspace

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.