padding-bottom

It is possible to define these individual paddings simply by adding a direction suffix to the padding attribute. Padding-bottom will set the bottom padding for this element.

Value Description
size px - size in terms of pixels
em - size in terms of the current font size
in - size in terms of inches
cm - size in terms of centimeters
percentage The width of this element will be a percentage of the element it is inside of.

Code:

p { padding-bottom: 4px; border: 1px solid black; }

Display:

This paragraph had one padding speficied (bottom), using a directional declaration. This paragraph had one padding speficied (bottom), using directional declaration. This paragraph had one padding speficied (bottom), using directional declaration.

Compatibility Issues:

IE 5.0 - Padding can be buggy.