CSS Padding-bottom Property

The padding-bottom property of CSS is used to control bottom-padding of HTML elements.

The padding-bottom property of CSS is used to set the bottom-padding of a given element. All elements can have a padding.

Possible Values

Note: Negative values is not allowed for padding.

Padding-bottom Example:

This Example sets the bottom-padding of all paragraphs to 3em, meaning it will have a space of 3em, from its bottom-edge, to its content.

p {
  padding-bottom: 3em;
}

Inherited? NO!

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.