webmonkey

 

margin-left

Page history last edited by Scott 2 yrs ago

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

 

Its not just positive values, negatives values are also allowed.

 

 

Example 1

This is a paragraph

This is a paragraph

This is a paragraph

 

Example 2

h1

{

margin-left: 10px

}

 

h2

{

margin-left: -20px

}

Comments (0)

You don't have permission to comment on this page.