I’m trying to figure out the best method of marking up this list of images, with captions. The images vary in height and the captions are aligned to the right of the images, sometimes with two lines of text, and as close to vertically centred with the image as possible
See the below image for what I’m trying to achieve. I’d be tempted to use a definition list, floating the captions to the right, but getting each bit of text aligning correctly without styling each individual caption has got me stumped.
Any thoughts on the matter are most welcome (there will be a lot more images than this, hence the desire for a one rule fits all solution…the grey boxes represent images in case you were wondering):