CSS Margin-bottom Property

Posted The: 25/04/2008 At: 18:24

Last Edited: 15/08/2008 At: 18:49

margin-bottom is used to set, or change the bottom margin of a given element.

Possible Values

Example:

In this example, the bottom-margin of h2 is set to 2em. The content after h2, will have a top-distance to h2 of 2em.

h2 {
  margin-bottom: 2em;
}

Inherited? NO!

Comments: [0]

© Brugbart Webdesign