+ 1

What is difference between Margin and Padding?

16th Aug 2017, 11:25 AM
Mr_Yaman
Mr_Yaman - avatar
4 Respostas
+ 14
Padding is the space between the content and the border, whereas margin is the space outside the border. This picture would make it more clear : https://i.stack.imgur.com/D9nU6.gif
16th Aug 2017, 12:01 PM
Dev
Dev - avatar
+ 4
@yaman, many best websites providing HTML and CSS full course free of cost. so you can see that type of course. they very useful. for example: Udacity website
16th Aug 2017, 5:16 PM
meherDev
meherDev - avatar
0
In short, padding is the space inside the element and margin is the space around the element .
16th Aug 2017, 5:55 PM
Aya Khaled
Aya Khaled - avatar
- 1
@Meher I'm here to learn only. I find SoloLearn more useful than any other.
18th Sep 2017, 1:47 AM
Mr_Yaman
Mr_Yaman - avatar