+ 2

What does padding do

3rd Nov 2016, 10:37 AM
Afreen Sayed
Afreen Sayed - avatar
3 Réponses
+ 1
Padding adds spaceing within the block element. Unlike padding, margin adds spacing outside the block element.
3rd Nov 2016, 7:10 PM
Brian
0
Padding make space between things, used a lot styling html docs with css
3rd Nov 2016, 10:39 AM
Pablo De La Portilla
Pablo De La Portilla - avatar
0
See box model - it is empty space between block of text and border. It has the same background color as the text inside the box (unless specified other by CSS).
3rd Nov 2016, 3:44 PM
Mojmír Volf
Mojmír Volf - avatar