Posted The: 25/04/2008 At: 18:24
Last Edited: 15/08/2008 At: 18:49
Contents:
The padding property of CSS is the short-hand way of specifying padding.
Note: Negative values is not allowed for padding.
This example, sets the padding in the following format: Top Right Bottom Left
p {
padding: 2em 1em 3em 4em;
}The above is the equivalent of:
p {
padding-top: 2em;
padding-right: 1em;
padding-bottom: 3em;
padding-left: 4em;
}Inherited? NO!
Comments: [0]
© Brugbart Webdesign