+ 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.

26th Mar 2018, 4:10 PM
Amar Yasir
Amar Yasir - avatar
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
26th Mar 2018, 4:33 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 4
You can always add box-sizing: border-box; And your paddings and borders are included in your total width which is 150px
26th Mar 2018, 5:26 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
answer is 174
21st Aug 2018, 11:30 AM
deepak sharma
deepak sharma - avatar
+ 2
thank you very much
4th Apr 2019, 4:32 PM
Jamin Sultana Bethe
Jamin Sultana Bethe - avatar
+ 1
Thanks
5th May 2019, 10:24 AM
Good Child
Good Child - avatar
+ 1
174
7th Aug 2019, 6:17 PM
Amirabbasghasemi
Amirabbasghasemi - avatar
+ 1
150 + 10 + 10 + 4 = 174
17th Jul 2020, 10:43 PM
Alejandra Meugniot Careta
Alejandra Meugniot Careta - avatar
+ 1
10 px 5px 15px
1st Jun 2021, 3:04 AM
Dhruvin Limbani
Dhruvin Limbani - avatar
0
Thank you so much.
3rd Jan 2020, 6:35 AM
Kamran Fazal
Kamran Fazal - avatar
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
29th Feb 2020, 6:47 PM
Faahim Sadman
Faahim Sadman - avatar
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
7th Jan 2021, 4:16 PM
mario
mario  - avatar
0
174
20th May 2021, 3:05 PM
Attah Gideon
Attah Gideon - avatar
0
174
12th Jul 2021, 2:33 PM
Akinboni Ayodele