Building a Tribute Page - issue with #image center

Hi Guys first post so go easy please :rofl:

I have completed the tribute build project but my code fails on the center on the #image selector

I have tried margin: auto (as well as left and right options as wella s changing display: grid; and setting appropriate centering options

Please help code below

Harry Kane celebrating yet another goal Harry Kane scores goals for fun
CSS

#image {
display: block;
height: auto;
max-width: 100%;
margin: 0 auto;
border: solid white 20px;
}
thanks

when you ask for help please post all your code

one common mistake here is not linking the css file in the html file


When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

OK got it - thanks!

I have actually figured out what was wrong - I had added in a border to the img and it looks like the tests did not like it - removed and now passed

Thanks for replying and i will ensure i follow the rules for subsequent posts!