Style paddingBottom Property
Style paddingBottom Property
The paddingBottom property is used to either set or return the bottom padding of an element. The basic purpose of margin and padding properties is to insert space around an element. However, margin inserts the space around the border while padding inserts the space within the border of an element.
Syntax:-
Its syntax is:- object.style.paddingBottom OR object.style.paddingBottom = % | length | initial | inherit
Return:-
Its return is:- string having a bottom padding of an element
Further Explanation:-
Value | Description |
---|---|
% | Defines bottom padding in % of width of parent element. |
length | Defines bottom padding in length units. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |