The fact is that I have this code
...
<body>
<div class="container">
...
</div>
</body>
...
Inside the container I have a login form that occupies more or less half the height of the screen and I with this code:
.container {
background: gray;
height: 100%;
}
I make the container take up the full height of the browser even if the elements do not occupy everything.
So far so good, but when I go to a registration page it is longer (it has more content, more elements) and occupies more than 100% of the height of the browser and when I scroll down the container (which is gray color) stays to a certain point and the "background: gray;" it stays to a certain point. In other words, the gray color occupies 100% of the height and when there is a need to scroll, from there to below there is no gray color. I hope to give to enterder.