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.


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts