Posted The: 25/04/2008 At: 18:24
Last Edited: 15/08/2008 At: 18:49
Contents:
The padding-right property of CSS is used to set the right-padding of a given element. All elements can have a padding.
Note: Negative values is not allowed for Padding.
This Example sets the right-padding of paragraphs to 2em, meaning it will have a space from its right-edge of 2em, to its content.
p {
padding-right: 2em;
}Inherited? NO!
Comments: [0]
© Brugbart Webdesign