The full height of the div is not stretched

Hi, I’ve been working on a website for some time, improving the code, etc. I just noticed that on small screens the height of the white background does not extend for all the content.

Customization min-height: 100%;and height: 100%;does not seem to solve the problem, do you think it could be due to the fact that a lot of content is floating?

Any suggestions would be highly appreciated.

+5
source share
4 answers

On div.containerdelete height: 100%and add overflow: auto.

+5
source

"height: 100%", "float: left" "clear: both" . , , .

+1

Try overflow: hidden; on the container you want to empty under the rest of the content.

0
source

You can use inline-blockfor basic div, for example: -

div.container{
   display:inline-block;
}
0
source

All Articles