Reputation: 106
Straight to the point, chrome says that my body has bigger width than screen size:
I simply cannot understand why this is happening, I saw that happening when I had the rest of the page developed, and I deleted element by element until I saw that even with empty body I've this issue. I tried box-sizing, width vw instead of 100%, and the rest of answers that i've find.
Upvotes: 2
Views: 334
Reputation: 436
if it is not a problem related to some css rule of the HTML tag, I would try an approach similar to this .. :)
body{
position: fixed;
top: 0px;
left: 0px;
width: 100vw;
height: 100vh;
overflow: auto;
}
Upvotes: 0