margin-top
The margin-top CSS property sets the top margin of a box.
CSS
JS
object.style.marginTop = "value";
Values
<'margin-top'> = <length-percentage> | auto
<length-percentage> = [ <length> | <percentage> ]
<length>
Specifies the length using a number followed by a unit of measurement.
<percentage>
Specifies the percentage using a number followed by a percent sign (%).
auto
Automatically specified by the user agent.
Initial
auto
length
percentage
JS
Internal
External