kawi6rr 0 Posted May 12, 2020 Report Share Posted May 12, 2020 I have a series of dropdown menus and some are quite long. When the long menus drop below the page/fold the page jumps a few pixels to the left. Any idea on why this would happen? See attached file for reference, thanks. Index - Copy.html Quote Link to post Share on other sites
Ingolme 1,027 Posted May 12, 2020 Report Share Posted May 12, 2020 I don't see any menus or dropdowns in the file you have attached. Clicking on the words just reloads the page. I would guess that the menu is causing a scrollbar to appear, so the page has to move to the left to accommodate for it. Quote Link to post Share on other sites
kawi6rr 0 Posted May 13, 2020 Author Report Share Posted May 13, 2020 The images wont show up so if you click on the X before the words the drop down menu activates. Quote Link to post Share on other sites
kawi6rr 0 Posted May 13, 2020 Author Report Share Posted May 13, 2020 3 hours ago, Ingolme said: I don't see any menus or dropdowns in the file you have attached. Clicking on the words just reloads the page. I would guess that the menu is causing a scrollbar to appear, so the page has to move to the left to accommodate for it. That's exactly what's happening thanks, how do I get around that? Quote Link to post Share on other sites
Ingolme 1,027 Posted May 13, 2020 Report Share Posted May 13, 2020 You could give the body an overflow: scroll property to always have a scrollbar there. Quote Link to post Share on other sites
kawi6rr 0 Posted May 13, 2020 Author Report Share Posted May 13, 2020 16 hours ago, Ingolme said: You could give the body an overflow: scroll property to always have a scrollbar there. Thank you much appreciated, the overflow scroll property worked perfectly. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.