0

CSS Box Model

Why does Padding, Border, and Margin give the same output?: #margin { padding-left: 50px; } -------------------- #margin { margin-left: 50px; } -------------------------- #margin { border-left: 50px; } What is the reason? My text is still aligned at the same place. I thought that they were different.

12th Apr 2020, 3:52 PM
Koopa Scripter
Koopa Scripter - avatar
4 Answers
0
Mirielle Thank you for the code example. But what do you mean with div > .wp
12th Apr 2020, 4:09 PM
Koopa Scripter
Koopa Scripter - avatar