+ 3
Why padding and margin
please description padding and margin in css
5 Réponses
+ 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 ^^
+ 2
padding = inner and margin = outer
+ 2
thanks for all
0
margin and padding are very impprtant for the designing of websites
0
Merci pour la compréhension