+ 1
What is the difference between padding and margin
4 odpowiedzi
+ 2
Padding is the space between the content and the border, and margin is the space between the border and the rest of the page and surrounding elements.
+ 2
From outside to inside:
Margin > Border > Padding > Content
0
ok
0
. .. . .(border)
...............................
| |
(Margin) | (Padding) Content |
| |
...............................