I need help with adjusting the heights of two divs inside a container div using CSS. Specifically, I want the height of the img_box div to match the height of the content_con div based on their actual content. For example, if the content_con div contains three paragraphs and has a height of 303 pixels, I would like the img_box div to adjust its height accordingly. How can I achieve this in CSS?
In essence, I want the img_box and content_con divs to have equal heights based on which one is taller. See the visual representation below:
<div class="box_container">
<div class="img_box"></div>
<div class="content_con"><div>
</div>
.box_container
----------------------------------------------
|
.img_box | .content_con
|
----------------------------------------------