+ 5
someone tell me how that is = 174
Enter the total width of an element in pixels, if its width=150px, left and right paddings=5px each, border width=2px and left and right margins=5px each.
13 ответов
+ 19
Width: 150px
Left/Right Padding: 10px (5px on left, 5 px on right)
Border Width: 4px (2px on left, 2 px on right)
Left/Right Margins: 10px (5px left, 5 px right)
150 + 10 + 10 + 4 = 174
+ 4
You can always add
box-sizing: border-box;
And your paddings and borders are included in your total width which is 150px
+ 2
answer is 174
+ 2
thank you very much
+ 1
Thanks
+ 1
174
+ 1
150 + 10 + 10 + 4 = 174
+ 1
10 px 5px 15px
0
Thank you so much.
0
Width: 150px
Left/Right Padding: 10px (5px on left, 5 px on right)
Border Width: 4px (2px on left, 2 px on right)
Left/Right Margins: 10px (5px left, 5 px right)
150 + 10 + 10 + 4 = 174
0
Enter the total width of an element in pixels, if its width=150px, left and right paddings=5px each, border width=2px and left and right margins=5px each.
answer:174px
0
174
0
174