On my HTML page, I have a main header and body. Inside the body, there is another header and body that overflows horizontally.
I want to ensure that no white space appears on the right side of both headers when the inner body scrollbar is moved right. Instead, I want the headers to "move" along with it.
I managed to fill the space in the main header by using
position: sticky;
left: 0;
However, I am struggling to find a way to replicate this for the inner header.
Here is a Fiddle showcasing the issue.
Any assistance on this matter would be greatly appreciated.