I'm not entirely sure that this is possible, but what I'm hoping to accomplish is this.

I have two DIV's nested in a div, one that has an image to the right, and the other that has text to the left. What I'm hoping to do is have the DIV's resize to fit based on the size of the image.

For instance, if the DIV has an image that is 320w x 270h, and an overall space of 720px, then I would like to have the DIV that contains the text to re-size to 400px roughly. I already have the left box width set to auto to accommodate the different image sizes, but I don't know how to set the text box to size properly based off of that.

Let me know if you need anymore info.