0

Any difference between div {border:1px; width:8px} and div {border-width:1px; padding:8px;}

2nd Dec 2016, 12:55 AM
Itoroabasi Unang
Itoroabasi Unang - avatar
2 Antworten
+ 2
width is the full width of the container. padding is inside the container. its a big difference
2nd Dec 2016, 12:57 AM
Max_N
Max_N - avatar
+ 1
oh I get, thanks
2nd Dec 2016, 1:49 AM
Itoroabasi Unang
Itoroabasi Unang - avatar