|
Padding
The padding property is a shorthand for the padding-top, padding-right, padding-bottom, and padding-left properties. An element's padding is the amount of space between the border and the content of the element. Between one and four values are given, where each value is either a length or a percentage. Percentage values refer to the parent element's width. Negative values are not permitted. If four values are given, they apply to top, right, bottom, and left padding, respectively. If one value is given, it applies to all sides. If two or three values are given, the missing values are taken from the opposite side. For example, the following rule sets the top padding to 2em, the right padding to 4em, the bottom padding to 5em, and the left padding to 4em:
Maintained by John Pozadzides and Liam Quinn Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved. |
|||||||||||||||||||||||||||
With any suggestions or questions please feel free to contact us |