title: Div height is overflowing issue
body: <p>I'm have a one div element on my web page that contains both image and text-content, which are both separate classes. both of the elements are fixed side by side within a given margin. I am trying to control the text-content element from overflowing other elements in the page. My aim is to reduce its height according to the height of the image so that the two elements are dependent on each other. how would I do this?</p>