www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 vspace Property
VSPACE Attribute | vspace Property

Sets or retrieves the vertical margin for the object.

Syntax

HTML<ELEMENT VSPACE = iMargin... >
Scripting[ iMargin = ] object.vspace

Possible Values

iMarginInteger that specifies or receives the vertical margin, in pixels.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

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.

Standards Information

This property is deprecated in HTML World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

APPLET, IFRAME, IMG, MARQUEE, OBJECT, INPUT type=image, INPUT

See Also

hspace
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG