HTML Dog
Skip to navigation

CSS Property: margin-left

The left margin of a box, outside the left border, padding, and content areas.

Possible Values

ValueNoteExample
[length]10px
[percentage]Calculated as a percentage of the containing box’s width.25%
auto
inherit
initial
unset

Example


#otter { margin-left: 2%; }