Windows Dev Center

EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

topmargin attribute | topMargin property

Sets or gets the margin for the top of the document.

Syntax

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

p = object.topMargin

 

Property values

Type: Variant

the top margin of the body, in pixels.

15

Default value.

Remarks

If the value is set to "0" or "", the top margin is on the top edge of the window or frame.

By default, when you set the value of this property, the opposite margin is set to the same value.

See also

body

 

 

Afficher:
© 2015 Microsoft