CSS padding properties allow you to set the padding area for an element that separates your content from your limit. Padding is affected by the background color of the box.
padding
padding-top
padding-right
padding-bottom
padding-left
Example -
#divOne {
padding : 20px;
}
#divTwo {
padding : 20px 10px 20px 10px;
}
#divThree {
padding-top : 20px;
padding-right : 10px;
padding-bottom : 20px;
padding-left : 10px;
}
0 comments:
Post a Comment