开发者

Scroll does not work in small resolutions

开发者 https://www.devze.com 2023-03-11 13:06 出处:网络
When using lower resolutions than 1024x768 browser scroll not working right. If you notice, when the resolution is smaller I can not see all the purple stripe.

When using lower resolutions than 1024x768 browser scroll not working right. If you notice, when the resolution is smaller I can not see all the purple stripe.

I noticed that the body is at the top, which is weird because the entire page should be inside the body. I do not know if that influences anything.

开发者_如何学运维

Url: www.amsdarquitetura.com.br


It's the negative margins you're setting on div#global. When the viewport is small enough, the negative margins are essentially hiding parts of your page.


Change #global CSS to:

#global {
    margin: auto;
    position: relative;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消