Position relative, absolute - why images don't centre

I can’t centre the images. Could someone please tell me what’s wrong?


When it comes to the way you wrote the code, all you have to do is go to your css and under figure add text align: center.

figure {
text-align: center;

1 Like

Thanks, and sorry for the late “like”. I tried your suggestion and it worked for the images.