I have several divs in a container div with overflow set to auto. I need to expand the width of all divs to fit the overflowed width of the container.
Here is a very simple example:
I'm not sure whether this is possible purely using HTML and CSS, but I wrote jquery to do this.
It simply finds the max width of all the inner divs and then sets the value of all inner divs to max.
Find the code here: http://jsfiddle.net/DDtuM/5/
display: table; to #container
Drawback: older versions of IE do not support display: table.