I have two divs divaand divb. They have a fixed height 30px. I want to display them in one line one by one. This can be done by specifying the width 10%and, 90%respectively, and float: left. It works great. But I gave them the border 1 px, and this violates the calculation. I gave the second div a width 88%and it works. But after that div there is empty space.
I want both divs to appear on the same line. The dimensions of the page are changing, and I want the divs to fill in the blank so that I cannot give them a fixed width. The first div can be given a fixed width, because I just want it to be 150 pxwide. But the second div must be wider to fill the gap.
What I get is:

and I want this:

Here is the violin.
source
share