CSS margin property



Margin property defines the place around an HTML element. It is possible to use negative values to overlap content.

  • margin
  • margin-top
  • margin-right
  • margin-bottom
  • margin-left
#divOne {
    margin : 20px;
}

#divTwo {
    margin : 20px 10px 20px 10px;
}

#divThree {
    margin-top    : 20px;
    margin-right  : 10px;
    margin-bottom : 20px;
    margin-left   : 10px;
}





Share on Google Plus

About It E Research

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment