The padding-top CSS property sets the top padding of a box.
CSS
JS
object.style.paddingTop = "value";
Values
<'padding-top'> = <length-percentage>
<length-percentage> = [ <length> | <percentage> ]
<length>
Specifies the length using a number followed by a unit of measurement.
<percentage>
Specifies the percentage using a number followed by a percent sign (%).
Initial
length
percentage
JS
Internal
External