The Web Design Group

Top Padding


Syntax: padding-top: <value>
Possible Values: <length> | <percentage>
Initial Value: 0
Applies to: All elements
Inherited: No

The padding-top property describes how much space to put between the top border and the content of the selector. The value is either a length or a percentage. Percentage values refer to the parent element's width. Negative values are not permitted.


Maintained by John Pozadzides and Liam Quinn


Web Design Group ~ CSS Index ~ CSS Structure ~ CSS Properties

Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.