@Annalisa11
Posted
Hi Dan,
about the whitespace on the bottom of the page... I think it is because the background image on the body takes up only as much space as it needs in terms of height. The image height is not big enough to cover all of the background. To get rid of the white space that comes underneath you could give the body the property background-size: cover;
which means, that the image should cover the whole space/div it is in and not only the space which it actually needs.
Hope it helps (I'm not 100% sure though) :)
Marked as helpful
@Danielfww
Posted
@Annalisa11 thank you for that.
When I did the project I didn’t really included div into it and then it was a mess in a mobile version so I re-did it all and included the div. I honestly didnt even considered that including the div may actually just scale properly - I thought it didn’t because before I didnt had the extra space.
Thank you for that suggestion.