I'm currently working on establishing the layout of my page by drawing inspiration from this website. Specifically, I aim to have a fixed header/nav-bar with a sidebar that scrolls independently and a content panel that scrolls conventionally. It seems that the site I referenced is utilizing flexbox functionalities, however, I need to cater to older browsers (at least IE8 and above), so I am looking to create this layout using pure CSS or incorporating jQuery.
You can view a demo in this fiddle here, which illustrates the basic structure based on two primary wrappers:
.wrapper {
width: 100%;
height: 100%;
position: relative;
}
.body-wrapper {
margin-top: 80px;
width: 100%;
height: 100%;
}
The issue with my implementation is that the sidebar doesn't scroll independently. Therefore, when the main scroller is used, both the sidebar and body content scroll together, whereas I intend for only the latter to be affected.
Thank you in advance for any help provided; I am open to modifying my current version or exploring an entirely different approach.