You are here : cssCSS 3margin-left

margin-left - CSS 3

The margin-left property sets the left margin of an element.Note: Negative values are allowed.


Syntax

margin-left: length|auto|initial|inherit;


Example

p 
	{
	   
	margin-left: 2cm;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference