I wrote a topic page a few days ago.
Div {width: 900px ;}
Div A {display: inline-block; width: 300px ;}
<Div>
<A href = ""> </a>
<A href = ""> </a>
<A href = ""> </a>
</Div>
It was found that the 900 container could not accommodate 3 million a containers, so I had to worry about it and secretly reduced A Little Bit Of A in it. But I was later discovered by my colleagues, saying that this is because the inline element and inline-block both have spacing by default. You can float it and the spacing will disappear. Float: Left; then the spacing disappears.
The following describes how to remove the inline and inline-block elements:
1. You can directly write the elements on one line in HTML or write the closed tag and the second start tag on one line or between lines to add comments or directly remove the closed tag, but the last one cannot be removed.
2. Set margin-Right to a negative value, but consider the font and text size of the context.
3. Set the font of the child element first, and then set the font-size: 0px of the parent element; // chrome:-WebKit-text-size-adjust: none;
4. Set the parent element "letter-spacing" or "word-spacing" to a negative value. Consider the font. also set the value of "letter-spacing" or "word-spacing" when the sub-element is long as the text.
5. Float: left;