0

differnce between paddling and margin briefly?

I want to know that exact difference betwen paddling and margin? short and exact answer would be appreciated.

18th Apr 2017, 8:44 AM
Surya Pratap Singh
Surya Pratap Singh - avatar
3 Answers
+ 12
Padding is the space between content of a box from it's border. Like label of a button from it's border. While, margin is the space between a element from it's surrounding. eg. space between the body of page and a button.
18th Apr 2017, 12:02 PM
Sachin Artani
Sachin Artani - avatar
+ 2
padding is inside the border, margin outside
18th Apr 2017, 8:46 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 1
For example you have a box Padding -is space between the content( main information) and the end of the box. Margins -is the space outside the box. when making a website, you can use margins and padding in this order: margin-top, margin-right,margin-bottom and margin-left. padding-top, padding-right,padding-bottom and padding-left. Hope this helps if you want more information, here is a link that could help https://www.w3schools.com/css/css_boxmodel.asp
18th Apr 2017, 9:02 AM
Danika