margin-left

margin-left
CSS margin-left Property
The CSS margin-left property is used to create marginal space on the left side of elements.
CSS CODE EXAMPLE
<style type="text/css">
.class1 {
    margin-left: 20px;
}
.class2 {
    margin-left: 20%;
}
</style>
<p>paragraph content ...</p>
<p class="class1">paragraph content ...</p>
<p class="class2">paragraph content ...</p>
 
paragraph content ...
paragraph content ...
paragraph content ...

Possible Values:

pixel amount •• percentage

Related Posts :

  • margin-left margin-left CSS margin-left Property The CSS margin-left property is used to create m… Read More...
  • padding-right padding-right CSS padding-right Property The CSS padding-right property is used to cr… Read More...
  • padding-top padding-top CSS padding-top Property The CSS padding-top property is used to create t… Read More...
  • margin margin CSS margin Property The CSS margin property is CSS shorthand for specifying&nb… Read More...
  • margin-bottom margin-bottom CSS margin-bottom Property The CSS margin-bottom property is used to cr… Read More...

0 Response to "margin-left"

Post a Comment