Cannot get image to center within DIV

Hi. I’m trying to work on the first project…the tribute page. I want to put an image inside of a DIV that has a white background, but I can’t get the image inside of the DIV to be centered inside of the DIV. Here is the link to the page I’m working on in CodePen. Can someone please help me?

Thank you!

p.s. - Do I need to paste the code here, or can you see my code on CodePen? Thanks.

1 Like

All you had to do was add the text-center command in the inside div.

  <img  src="" alt="Prison Break">

Ah. Thanks so much. I kept trying to add it inside of the IMG element. :confused: I’ll be sure to remember that from now on. Thanks again.

That applies to any special elements you run into in the future eg. button, form, link … Great app though