margin-bottom

The margin-bottom property sets the bottom margin of an element.

margin-bottom: <length> | <percentage> | auto | inherit
Initial: 0
Applies To: all elements except elements with table display types other than table-caption, table and inline-table
Inherited: no
Percentages: refer to width of containing block
Media: visual

DOM

Δ

[window.]document.getElementById("element-id").style.marginBottom = "margin-bottom";

Example | auto

Δ

Example | length

Δ

Example | percentage

Δ

Example | DOM

Δ

References

Δ