The margin property for CSS is shorthand for margin-top, margin-right, margin-bottom, and margin-left.
object.style.margin = "value";
<'margin'> = <'margin-top'>{1,4}
<'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.