0

My image is not display all? Thanks you sir.

Image is not display all. https://code.sololearn.com/WWgdBiJB1r96/?ref=app

9th Oct 2021, 1:42 PM
Malick Diagne
Malick Diagne - avatar
2 Respuestas
+ 3
You set the picture as the background for the heading. The heading is too small for the whole picture so only parts of it are shown. Move it from the heading to the body and you'll see the whole picture. And for the future: Please always tag the language you're talking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app
9th Oct 2021, 2:17 PM
Simon Sauter
Simon Sauter - avatar
+ 3
The problem with your code is that you placed image as background to inline tag. So the image size in your code only depends on the size of h3 tag. You could fix that by making image a separate object, using <img> tag. Or if you wanted to specifically make that image as background to the header, you could fix it by setting a fixed size for your header. Like that: https://code.sololearn.com/WmuLrQ8mNFEa/?ref=app
9th Oct 2021, 3:54 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar