I have 2 divs inside of another div. The two inner divs are displaying text, which is generated by my application. The length of the text varies. Is there any way to force one inner div, let’s say the first one, to fill the space leftover by the second inner div?
If that sounds cryptic, take the below example… the width of the score box varies in width depending on what is displayed.. 0% being short, 100% being long…
How do I ensure the button on the left fills the leftover space to make things fit tightly into the blue box.

The easiest way I know of to do this with variable widths is to use faux tables:
http://jsfiddle.net/chovy/HMnSq/