I looked this question up but couldn't understand it in relation to my specific issue.
I set up the html in question as follows:
<div class="container-fluid">
<div class="inner">
<div class="weatherdata">
<p class="city"></p>
<p class="description"></p>
<p class="temp"></p><br><br><br>
<p class="mintemp"></p>
<p class="maxtemp" </p>
</div>
</div>
The css styling was this:
.container-fluid {
background-size: 100% 100%;
background-repeat: no-repeat;
position: absolute;
width: 100%;
height: 100%;
}
The issue I had was that when I resized (downsized) the browser window, a scroll bar appeared and a load of whitespace underneath. My boyfriend comes along as suggests changing height to min-height (after hours of trying to resolve it myself). This worked, but he had only guessed so couldn't explain why (he is also fairly new to this).
I'm unsure what's going on here to make that work.
Could anyone help?