padding-top (CSS1)

Specifies the amount of padding (in pixels, points, or a percentage) at the top of an element.

Syntax

length | percent | inherit

Examples having uses of: 'padding-top'

1 votes
1k views

CSS Border

Using CSS border we can set style, color, width of the borders of an HTML element.
0 votes
1k views

CSS Padding

This example shows you how to use an internal CSS Style Sheet to apply padding options. The top line of text has no padding, whereas the second line of text has 25px padding at the top and bottom, and 50px padding on either side.