Legacy HTML & CSS Tribute page Questions

Hi Guys,
I have build my page by copying the example. I have added CSS code to the stylesheet section but still get 3 errors around the image alignment, height and display : block settings. Any help would be appreciated.
My code is below. Kind regards

#image { image-align: centre; height: auto; display: block; max-width: 100%; }

We really need to see all of your code. Did you do this in codepen or something similar? If so, please give us a link. Otherwise, you can paste your HTML and CSS in here.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

I will point out that you are using the British spelling instead of the American spelling. CSS uses the American spelling. But is there even an image-align property? CSS changes so fast that there might be and I just have never used it. But google isn’t finding one. Are you sure this is a valid CSS property?

Thanks bbsmooth its the first time I have used the forum I will do what you have advised.

Thanks again bbsmooth I don’t think is is a proper command …back to the lessons. Thank you

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.