Consider the following HTML markup:
<div class="inlineblock">one</div>
<div class="inlineblock">two</div>
<div class="inlineblock">three</div>
Accompanied by this CSS style: .inlineblock{ display: inline-block; }
You may notice spaces between the elements when rendered, approximately 4px of space. The spacing can be eliminated if your markup is written like this:
<div class="inlineblock">one</div><div class="inlineblock">two</div><div class="inlineblock">three</div>
The question that arises is: WHY?
What is the underlying technical reason that popular browsers such as Firefox, Chrome, and Opera still exhibit this behavior? Is there a specific rationale behind it, preventing it from being rectified despite advancements in browser technology?
We appreciate any insights on this matter!