padding-bottom property
The padding-bottom property sets a
bottom padding of an element. The property
value is any
size units.
Syntax
selector {
padding-bottom: value;
}
Example
Let's make the 30px bottom padding:
<div id="elem">
some text...
</div>
#elem {
padding-bottom: 30px;
width: 300px;
border: 1px solid black;
text-align: justify;
}
:
See also
-
the
padding-topproperty
that sets a top padding -
the
padding-leftproperty
that sets a left padding -
the
padding-rightproperty
that sets a right padding -
the
paddingproperty
that is a shorthand for a padding -
the
marginproperty
that sets a margin