I'm trying to model the basic structure of my page after this site-- i.e. in particular, using a fixed header/nav-bar with an independently scrolling sidebar and a content panel that scrolls normally. It appears the site I referenced is using flexbox features, but I will need to target somewhat older browsers (at least IE8 and above) so I'm hoping to implement this layout with pure CSS or with the help of jQuery.
I have a fiddle set up here that shows the basic structure, based on two main wrappers as follows:
.wrapper {
width: 100%;
height: 100%;
position: relative;
}
.body-wrapper {
margin-top: 80px;
width: 100%;
height: 100%;
}
the problem with my rendition, however, is that the sidebar does not scroll independently, thus the main scroller will cause that sidebar content to scroll in addition to the body content, whereas I want it to affect only the latter.
Thanks much for any assistance here; I'm open to adjustments to my version or a completely different approach.