+ 3

Why padding and margin

please description padding and margin in css

19th Feb 2017, 3:14 AM
Mr Nemer
Mr Nemer - avatar
5 odpowiedzi
+ 21
+------------------------------------ | ^ | | ( margin ) | v | +=========== ( border ) | || ^ | || | ( padding ) | || v | || Text ( content ) <------------> <--------> ( margin )( padding ) Margin and padding are respectively outer space and inner space... relatively to the 'border' element, wich define the 'box-model', with margin outer, and padding inner space between the border and the box content ^^
19th Feb 2017, 4:53 AM
visph
visph - avatar
+ 2
padding = inner and margin = outer
19th Feb 2017, 5:34 AM
Andre van Rensburg
Andre van Rensburg - avatar
+ 2
thanks for all
19th Feb 2017, 9:52 PM
Mr Nemer
Mr Nemer - avatar
0
margin and padding are very impprtant for the designing of websites
19th Feb 2017, 3:26 AM
Daood Ibrahim Khan
Daood Ibrahim Khan - avatar
0
Merci pour la compréhension
4th Aug 2020, 7:41 PM
Younoussa