Skip to main content
6 events
when toggle format what by license comment
Feb 24, 2021 at 0:58 comment added ADTC I used this with overflow-x: hidden; and it left a weird lengthy whitespace after the footer of the website. This happens only in Chrome, not in Firefox. I'd suggest finding some other way to hide overflow, perhaps directly on the overflowing elements (not html or body).
Aug 25, 2014 at 6:09 comment added Josh R. I'm sorry I updated my post. I forgot to add you need to remove margins and padding apparently to really get rid of scrolling. I also added to my answer about how I believe it is working. Unfortunately it may just be an unintended bug. So in answer to your main point, it appears you are absolutely right; chrome does seem to act this way for no apparent reason. Weird. Either way, I hope this work around can be useful to you anyways. Good luck!
Aug 25, 2014 at 6:04 history edited Josh R. CC BY-SA 3.0
added 184 characters in body
Aug 25, 2014 at 5:48 comment added S. Valmont One of the first things I tried. In the case of my code sample above, adding this CSS reduced the amount of scrolling allowed, but I'm still able to "wiggle" the DIV up and down. Also, my main point was that this seems to be unexplained behavior that's specific to the current PC version of Chrome. I do not need to do anything beyond my original code sample in other browsers to prevent scrolling. The DIV already knew what it shouldn't overflow.
Aug 25, 2014 at 5:32 review First posts
Aug 25, 2014 at 5:33
Aug 25, 2014 at 5:31 history answered Josh R. CC BY-SA 3.0