Padding
These properties allow the author to control a box’s padding—the area between its content and its border. You can also read The CSS Box Model for more information about padding.
In this Section
padding-top
this property that sets the padding for the top side of an elementpadding-right
sets the padding for the right side of an elementpadding-bottom
this property that sets the padding for the bottom side of an elementpadding-left
sets the padding for the left side of an elementpadding
sets the padding for all four sides of an element
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.