My setup is as follows:
- Full width, 100px height
header
- The header is always visible at the top.
- Full width, remaining height
details
- The content of
details
can scroll vertically and horizontally. - A fixed 200px width, full height container is right-aligned to the
details
. - The detail container controls the scrolling, and there is padding on the right to account for the right-aligned frozen section.
- The content of
The body of the page does not scroll at all; only the details
container does.
This is how I envision it looking: https://jsbin.com/mowojix/5/edit?html,css,output. However, once you start scrolling, you'll notice that the right-aligned container remains in place and moves with the scroll. Here, I have placed the right-aligned container inside the scrollable container to keep it within the scrollbars.
This is how I want it to function: https://jsbin.com/mowojix/7/edit?html,css,output. However, you might observe that the right container sits above the scrollbars. In this case, I've positioned the right-aligned container outside the scrollable container so it can remain floating on the right side.
I believe I must be overlooking something simple here. Any ideas?