Like I said the div is only as tall as the content. I have the div:
<div class="body-container">
<p>Hello</p>
</div>
And the CSS:
body-container {
width: 100%;
height: 100%;
background-color: blue;
}
However, the background only appears on the Hello paragraph. This is super annoying as I want the background to cover the entire page! Thanks for the help.