Okay, so this is a bit difficult to explain. Basically, I have a div positioned relative, holding a an absolutely positioned div. The absolutely positioned div contains divs with a fixed width, which are floated. These floated divs should expand the width of the absolute parent.
<div id="parent">
<div id="stretchable-div">
<div class="child">text</div>
<div class="child">another text</div>
<div class="child">more text</div>
</div>
</div>
Problem being, this does not work when the original relative position div width is less than the absolute div.
Example - http://jsfiddle.net/8JJSf/91/
Can be done in jQuery by:
$('.dropdown').each(function(index){
var sum = 0;
$(this).find('.half').each( function(){ sum += $(this).outerWidth(); });
$(this).width( sum );
});