Here is the quickest fix I can possibly give you for what you are asking.
DEMO
The demo is going to show you a few things but first I want to break down my own code as we go over it. Let's start with the HTML Code:
<div class="wrapper">
<div class="one"></div>
<div class="two"></div>
</div>
In your example, you use a span. As far as I know, span will only allow you to muck with the width of the length of the text in your span. An example of that is here, where I have set the width of the span to be 100px but it will only show the width of text within the span.
This leads me to the reasoning of a div, it is simple, and you can use it to accomplish what you are asking for. So let's break down the CSS code:
.wrapper {
width: 200px;
background:gray;
display: inline-block;
height:20px;
}
.one {
width:50px;
background:red;
height: 20px;
float:left;
}
.two {
width:-moz-calc(100% - .one);
background:black;
height:20px;
}
I apologize ahead of time for renaming your classes. Before we analyze this code, I would like to point out that I added in a height variable for each div so that I did not have to put anything in the div to check it. First thing is first, your instinct of using
display:inline-block;
is great! Next is to float or position these divs to be on the same line, in this case, you only need to float one of them to be sure they will both stay positioned on the same line. Next, I use a neat little trick, the -moz-calc, more information on this can be found on MDN's website. The gist of it is that it will take whatever the width of its parent element is and subtract the width of the class ".one" in this case, check the example below to see exactly where I am pin pointing.
.two {
width:-moz-calc(100% - .one);
background:black;
height:20px;
}
Now, if you go through and play with my DEMO, you will quickly notice that if you alter the width of the red div, it will change the width of the black div, further accomplishing what you need :) If this is not what you want, comment below and we can figure something out :)
I encourage you to play around with my JsFiddle to get the exact feel for what the divs do and what the calculator does as well. Also, for future reference, this site has always been helpful for me!