Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Full height div not stretching

Hi there I have been working on a website for quite some time now, improving code etc. I have just noticed that, on smaller screens, the height of the white background does not stretch past all of the content.

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

Any suggestions would be much appreciated.

like image 245
Olical Avatar asked Jan 06 '11 12:01

Olical


1 Answers

On your div.container, remove height: 100% and add overflow: auto.

like image 167
thirtydot Avatar answered Nov 10 '22 21:11

thirtydot