HTML and CSS Reference
In-Depth Information
Name
padding-bottom
Values:
<length> | <percentage>
Initial value:
0
Applies to:
All elements
Inherited:
No
Percentages:
Refer to the width of the containing block
Computed value:
For percentage values, as declared; for length values, the absolute length
Description:
Defines the width of the bottom padding for an element. Bottom padding set on inline nonre-
placed elements does not affect line-height calculations; therefore, such an element with both
bottom padding and a background may visibly extend into other lines and potentially overlap
other content. Negative padding values are not permitted.
Examples:
ul {padding-bottom: 0.5in;}
h1 {padding-bottom: 2%;}
Search WWH ::




Custom Search