Click to return to the DHTML, HTML     
margin-bottom Attribute |...     margin-left Attribute | m...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

MARGINHEIGHT Attribute | marginHeight Property


Sets or retrieves the top and bottom margin heights before displaying the text in a frame.

Syntax

HTML<ELEMENT MARGINHEIGHT = iHeight ... >
Scriptingobject.marginHeight [ = iHeight ]

Possible Values

iHeightInteger that specifies the height, in pixels.

The property is read/write with no default value.

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

Remarks

Margins cannot be less than 1 pixel or so large that the text cannot be displayed.

If marginHeight is specified but marginWidth is not, marginWidth is set to 0.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

FRAME, IFRAME

See Also

marginWidth



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.