The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid.
Overview table0
padding-top: length
padding-top: percentage
The following examples use the padding-top property to change the padding of the elements.
td { padding-top: 20%; }
td { padding-top: 30px; }
Syntax
padding-top: <length> | <percentage>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4