I cannot pass my tribute page project

It says your img element should have a display of block.
Your #image should have a max-with of 100%.
Your image should be centered within it’s parent.
#image{ display:block; max-width:100%;height:auto;}

Make sure you have linked your stylesheet properly. If you still need help then post all the code.

1 Like

Thank you so much, I centered it within it’s parent and linked my CSS properly.It passed.
I’ve been hanging for two days. Thanks a lot🥺

1 Like