I have got a problem with project “Build a Tribute Page”.
When the test run I see this
And my code
#image {
max-width: 100%;
display: block;
height: auto;
margin: 0 auto;
}
#img-div {
background: white;
padding: 10px;
margin: 0;
}
#img-caption {
margin: 15px 0 5px 0;
}
I can’t understand where the mistake in my code
Note: Be sure to add <link rel="stylesheet" href="styles.css">
in your HTML to link your stylesheet and apply your CSS. usually it is entered in the head element.
I did it and the problem solved. Thank you!
system
Closed
January 16, 2023, 7:33pm
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.