I've been thinking about this problem and can't seem to find the ideal solution.
Let's say I have a div tag with flexible width. In that div, I have 2 more divs, one next to the other either using float, absolute position or any other attribute that will work. The first div has a fixed width, say 100px. The second div must take 100% of whatever horizontal space is left.
I tried having both float left, first div width: 100px second div position: absolute, left: 100px, width: 100% but the second div would be too long and have 100px extra width. It would be nice if css allows something like width: 100%-100px.