CSS padding-top Property

Last Updated Jul 21, 2015, 12:00:06 PM





CSS padding-top Property

The padding-top CSS property of an element sets the padding space required on the top of an element
Syntax

The below example sets the padding for top of an element

Example
Try It Now

Browser compatibility
Feature
Basic support 1.0 1.0 (1.7 or earlier) 1.0 7.0 4.0 ? ?




Other CSS Padding Properties you might want to learn

CSS Padding Property

CSS Padding Bottom Property

CSS Padding Left Property

CSS Padding Right Property



Sources and Credits

The source of the content has been referred and updated with Mozilla Foundation and W3C Organization

Last Updated Jul 21, 2015, 12:00:06 PM