Thanks for the response. I wasn’t using figure and figcaption elements. I’ve just had a play around with them in codepen and I can’t seem to control the width of the img within the figure though??
Here is my code. I want the caption to break onto the next line when it’s as wide as the image, but I’m not able to say how wide the image is.