0

what is difference between margin and padding?

22nd Jun 2016, 12:17 PM
Pankaj Thosar
Pankaj Thosar - avatar
4 Respuestas
+ 2
margin is for outside box and padding is for text inside the box
22nd Jun 2016, 3:38 PM
gandhiyash
+ 1
Margin defines the space between the borders of the block (section for example) and the others next to it. Padding defines the space between the block's borders and the elements contained in this block.
22nd Jun 2016, 12:39 PM
Nitsugua HARLOCK
Nitsugua HARLOCK - avatar
+ 1
Is it clear or not?
22nd Jun 2016, 12:39 PM
Nitsugua HARLOCK
Nitsugua HARLOCK - avatar
+ 1
yes
5th Jul 2016, 9:46 AM
guim casadellà cors
guim casadellà cors - avatar