CSS:
html,body { width: 100%; height: 100%; left: 0; top: 0; bottom:0; margin: auto; font-family: "Alef"; background: #767E58; background-size: contain; background-image: url("../img/back1024.jpg"); overflow-y: auto; overflow: auto; } .container { height: 100%; width: 900px; background-color: #000; /* overflow: auto; */ } If you zoom above 110% the container is smaller then full height.
I could not find out why...
Any ideas what I'm doing wrong there?
Tried adding:
.container:after{ clear: both; content: ""; display: block; } And:
<div style="clear: both; line-height: 0;"> </div> Suggested here:
SOW
Both didn't work.
IT DOES WORK WITH
overflow: auto; ON container DIV
But that yields a vertical scroll bar on that div, which I do not wish to have. I wish to have it on the background image/ browser.
How can I fix that??
url("../img/back1024.jpg");??