webmonkey

 

padding-top

Page history last edited by Ryan 2 yrs ago

The padding-top property sets the top padding (space) of an element. Negative values are not allowed.

 

Example:

h1

{

padding-top: 10px;

}

 

-This sets the space above the content to 10 pixels.

 

Example:

 

Example Text. Example Text.

 

Length Value - Defines a fixed top padding. Default value is 0.

Comments (0)

You don't have permission to comment on this page.