I have an input with width: calc(100% - 100px);
without padding/margin/border. I want to put a div beside it with position : inline-block;
and width : 100px;
.
The div goes to the next line but I cannot find any reason for it. If I reduce the div width to 96px then it works fine. I am wondering what is causing that 4px missing width!
Please note that box-sizing : borderbox
is not related to this issue as I do not have any padding or border.
Here is the plunker, tested with chrome and firefox.