Latest solutions
Latest comments
- @GlozsaP@aeposten
Great work! I noticed when previewing the site that you have a persistent vertical scroll bar. This is because of the default margin of 8px that is added to the body. You can override this by setting the margin on the body to 0.
Marked as helpful - @elsgoossensP@aeposten
The gap below your image is because your image is rendered as an inline element by default. If you change the display property of the div it's nested in (the one with class of main-img), it will remedy this. This article on Geeks for Geeks does a great job of explaining why this happens: https://www.geeksforgeeks.org/how-to-get-rid-of-the-gap-under-the-image/
Marked as helpful - @Fathima-NuhaP@aeposten
The gap below your image is because your image is rendered as an inline element by default. If you change the display property to remedy this. This article on Geeks for Geeks does a great job of explaining why this happens: https://www.geeksforgeeks.org/how-to-get-rid-of-the-gap-under-the-image/
Marked as helpful