I have three div blocks with display set as inline-block.
I've noticed that there is a little margin between the blocks.
I don't understand where it came from. The CSS reset to margin: 0 padding: 0 didn't have an effect either.
*{
margin: 0;
padding: 0;
}
div{
display: inline-block;
background-color: green;
width: 100px;
height: 100px;
}
Is this like a default margin set for inline and inline-block content?
If I want to remove the gaps what methods can I use?