+ 1

padding

Please remind me the difference between padding and margin

11th Nov 2017, 6:44 AM
Fortune Mbulazi
Fortune Mbulazi - avatar
4 Réponses
+ 5
Thank you Simphiwe Ndumiso Fortune Mabaso for posting the question
7th Jun 2018, 11:14 AM
$hardul B
$hardul B - avatar
+ 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>*
11th Nov 2017, 6:56 AM
Muhammad Ali
Muhammad Ali - avatar
+ 3
Well, padding is the space between a content and its border and the margin is the space outside the border of a content.
11th Nov 2017, 6:57 AM
dunfc
dunfc - avatar
+ 3
Thanks Bro's.
11th Nov 2017, 11:36 AM
Fortune Mbulazi
Fortune Mbulazi - avatar