Topic is closed. Thanks for stopping by.
kirubiel:
<p>Try to <b>scroll</b> inside this frame to understand how sticky positioning works.</p>
<p>Note: IE/Edge 15 and earlier versions do not support sticky position.</p>
<div class=“sticky”>I am sticky!</div>
<div style=“padding-bottom:2000px”>
<p>In this example, the sticky element sticks to the top of the page (top: 0), when you reach its scroll position.</p>
<p>Scroll back up to remove the stickyness.</p>
<p>Some text to enable scrolling… Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus.</p>
<p>Some text to enable scrolling… Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum, altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et. Inciderint efficiantur his ad. Eum no molestiae voluptatibus.</p>
</div>
The code is working fine, you just have to check if sticky supports your browser.
Where’s that? I’m using torch browser. I just checked it on Chrome and it works fine. But it doesn’t work on torch, edge and IE. All my browsers are updated constantly.
Yeah I found the problem. It’s not supported on all of my browsers, cause I didn’t update them as regularly as I thought I had. So, just Chrome. Thanks for the replies!