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
}


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts