I'm fairly new to CSS and struggling with a design issue. I want to display a series of stacked divs on my page, each containing text and one or more images.
My goal is to have the text left-aligned and vertically centered, while the images are right-aligned. Additionally, I need the height of the div to adjust based on the variable image heights.
The desired layout for each div is as follows:
While I've been able to achieve some of these requirements individually, I haven't been successful in implementing them all at once. Is it even possible to accomplish this using pure CSS, or should I consider using a table instead?