Tribute page project help

Tell us what’s happening:
I am trying to center the image with the css code “vertical-align:middle” . but nothing is changining. I am trying to figure out how to set the image at the center

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:

Can you share your project via codepen?

Here is what I would do.

I would create a container div and center that in the middle first. Then put a picture inside that div.

Try googling how to center a div.

1 Like