Essentially, I am dealing with two blocks of text along with an accompanying image.
<div class="container">
<span class="title">Some Text</span>
<img src="an_image.png" />
<span class="note">Additional Text</span>
</div>
I aim to position all these elements at the bottom of the container div, with the title aligned to the left and the note pushed all the way to the right. The image should sit next to the title and align itself with the bottom of the title text. Thus far, I have only been successful in achieving this layout using relative/absolute positioning. Could CSS offer a more elegant solution?
Below is an illustration of the desired outcome. By adjusting the width and height of the container, the title, image, and notes seamlessly line up at the bottom, left, and right as shown: