HTML Dog

Skip to navigation

CSS Property: margin, margin-top, margin-right, margin-bottom, margin-left

Specifies the margin around a box.

Possible Values

Example


#badger { margin-top: 3em; }

#wolverine { margin: 1em 100px; }

#pineapple { margin: 1em 3em 10px 0.5em; }