+ 2

padding

Remind me again the difference between padding and margin.

11th Nov 2017, 6:33 AM
Fortune Mbulazi
Fortune Mbulazi - avatar
1 Answer
+ 8
Margin is outer space of an element, while Padding is inner space of an element. Margin is the space outside the border of an element, while Padding is the space that is inside the border of it. Source: https://stackoverflow.com/questions/5958699/difference-between-margin-and-padding
11th Nov 2017, 7:19 AM
qwerty
qwerty - avatar