Is it possible for the DIVs to resize based on the size of the nested image? That's what I'm trying to accomplish.
Within a main div, I have two nested DIVs - one with an image to the right and the other with text to the left. I want these DIVs to adjust their sizes according to the dimensions of the image.
For example, if the image in the DIV is 320w x 270h and the total available space is 720px, then I would like the text-containing DIV to resize to around 400px. The width of the left box is already set to auto to accommodate different image sizes, but I need help figuring out how to properly size the text box based on that.
Please let me know if you require any additional information.