In the image height is 100px but in code is 90px | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

In the image height is 100px but in code is 90px

18th May 2019, 1:06 PM
Daniel Cardenas
Daniel Cardenas - avatar
6 ответов
0
Maybe the problem is you have a border, or padding, or margin that makes it bigger. It would be easier to help if you provide more information
18th May 2019, 1:25 PM
Airree
Airree - avatar
0
The capture (image) shows 100px but code shows 90px. Review the capture.
18th May 2019, 1:29 PM
Daniel Cardenas
Daniel Cardenas - avatar
0
Can you like provide a link for the code?
18th May 2019, 1:32 PM
Airree
Airree - avatar
18th May 2019, 1:34 PM
Daniel Cardenas
Daniel Cardenas - avatar
0
Okay, i think i got it. The height is 90px, but there is a border of 5px, and the border is on the top and the bottom, so the total height is 90px + 5px + 5px = 100px
18th May 2019, 1:38 PM
Airree
Airree - avatar
0
Ahhh. You are ok. Sorry its my error.
18th May 2019, 1:39 PM
Daniel Cardenas
Daniel Cardenas - avatar