I'm trying to make this clear
I make a web with several <section> placed in horizontal, full width, and their father has {overflow-x: hidden}. Then a <nav> with buttons that reposition each section using jQuery. Simplified, something like this
<section style="width:100%;position:absolute;left:0"></section> <section style="width:100%;position:absolute;left:100%"></section> <section style="width:100%;position:absolute;left:200%"></section>
This is a premise. But my actual project is much more complicated, each section has a different height, and I found a huge problem in every browser that I used except Chrome:
I donβt know if itβs ok to link my website, but it is much easier to explain: http://batxewebcomic.esy.es/ . Sorry if this is not allowed :(
If you sign up for Chrome, everything will be fine; if you change the section, scrolling automatically matches its content. But if you sign up for Firefox, you can see that the scrolling does not change, and each section has huge white content after the footer.
My question is that I can make the scroll bar above the height of each section manually (only for Mozilla), so no one can scroll through white content. I tried a lot of things and couldn't solve it, so I thought it could do ...
Thank you very much.
batxe source share