CSS Margin-left Property
The Margin-left property is used to control the left-margin of elements on a page.
The margin-left property of CSS, sets the left-margin of a given element.
Possible Values
- auto (Default)
- Units of Measurement
Example:
This example sets the right-margin of paragraphs to 4em, paragraphs will have the distance of 4em to the left of its containing element.
p {
margin-left: 4em;
}Inherited? NO!