+ 1
Whats a padding? What does it do?
2 Answers
+ 5
Padding is the space around content.
You might want to add a picture to your webpage but dont want text like directly above or below it.
So you use padding to give it more space, this can be done in pixels.
For example :
img {
padding-top: 30px;
padding-bottem : 40px;
}
Now you've created empty space around the img.
Hope this helps
+ 1
Thanks alotđ, Dirk