SOLVED:Why isn't #image accepting a height?

Im building a tribute page. All of the tests pass except for the second to last one " Your #imageshould have aheightofauto’".

This is what I have in my CSS

main{
  text-align: center; 
}

img{
  max-width: 100%;
  margin: 0 auto;
  display: block;
  
}
#image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

Of course, as soon as I post the question I get it figured out. I removed the margin and display from the img and it worked

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