+ 1
padding
Please remind me the difference between padding and margin
4 Réponses
+ 5
Thank you Simphiwe Ndumiso Fortune Mabaso for posting the question
+ 3
Padding makes space around the content of an element whereas, margin creates space outside the element's borders
e.g.
* represents space.
e represents element
c represents content
padding = <e>*c*<e>
margin = *<e>c<e>*
+ 3
Well, padding is the space between
a content and its border
and the margin is the space outside the border of a content.
+ 3
Thanks Bro's.