margin-topmargin-top*
*



Contents  *



Index  *Topic Contents
*Previous Topic: margin-right
*Next Topic: overflow

margin-top

Description

Specifies the top margin for the element. Negative margins are supported except for top and bottom margins on inline elements.

Syntax

{ margin-top: [ length | percentage | auto]}

Remarks

This attribute is not inherited.

Applies To

BLOCKQUOTE, BODY, CAPTION, CENTER, DD, DIR, DIV, DL, DT, EMBED, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, INPUT, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, TABLE, TD, TH, TR, UL, XMP, TEXTAREA, IFRAME, SPAN, IMG, OBJECT

Scripting Property

marginTop

See Also

margin, margin-bottom, margin-left, margin-right


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.