0

Why when 2 elements take display inline block get a small space inbetween

this space is coming from where and why and how big it could be

21st Nov 2016, 9:20 AM
Shahir Wagdy Morgan
Shahir Wagdy Morgan - avatar
3 Answers
0
After reading about the inline-block spacing and what Johannes K provided, I figured that this is the normal styling of the inline-block display value.
11th Jun 2017, 10:14 AM
Shahir Wagdy Morgan
Shahir Wagdy Morgan - avatar
+ 1
https://code.sololearn.com/WlvtCBRLddJc/#css It has its origins in the spaces inbetween the elements. https://css-tricks.com/fighting-the-space-between-inline-block-elements/ That article illustrates super well
21st Nov 2016, 9:39 AM
Johannes K
Johannes K - avatar
0
you can also check the parents styles if it has margin by any means it could be from there as well
15th Dec 2016, 3:25 PM
Cele Prince
Cele Prince - avatar