CSS Margin-right Property

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

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

margin-right is used to set the right-margin of a given element, most elements can have their margins changed.

Possible Values

Example:

The following example sets the right-margin of paragraphs to 1em. Paragraphs will have the distance of 1em, to its containing elements right-edge.

p {
  margin-right: 1em;
}

Inherited? NO!

Comments: [0]

© Brugbart Webdesign