Thursday, August 13, 2009

Padding

* Padding controls the distance between the content of an element and its outer padding or border.
* We can control all sides of the padding using padding:20px; or we can control each side individually by saying padding-top:10px; padding-left:20px; padding-bottom:30px; padding-right:40px;
* The values for the padding can also be specified using percentages.

No comments:

Post a Comment