The problem is the gap between the two spans.
<span style="display:inline:block; width:25%">..</span>
<span style="display:inline:block; width:75%">..</span>
They have a space between them, so all this will not correspond 100%; it is 100% plus the width of the space in width.
If you delete a new line between two spans, it will work.
<span style="display:inline:block; width:25%">..</span><span etc...>
source
share