CSS padding-top property
CSS padding-top property represents space between the top sides of content and the border areas. It increases the height of a box more than usual.
Negative values are not allowed.
padding-top :+ve length
There is no space between the top side border and content area.
There is 30px space between top side border and content area. The height of box increases by 30px due to padding-top.
It applies to all elements other than internal table elements.
Was this article helpful?