CSS Padding

Using css padding properties you can define the space between the element border and the element content. You must remember that negative values are not allowed to use.

Css padding properties includes:
– padding
– padding-top
– padding-right
– padding-bottom
– paddeing-left

If you want to defind same space in all padding properties then instead of giving separate padding you can just give padding spacing using single one padding property.

Example of css padding :
p { padding: 5px; }

#myhead { padding-left: 3px; }