Currently, I am facing an issue with getting a section header to stay fixed at the top of a wrapper div. The challenge lies in the fact that the wrapper div must have a specified height and overflow set to scroll.
I came across this example (jsfiddle) that perfectly demonstrates the desired behavior, with the exception of lacking a wrapper div with a set height and overflow.
Upon adding the wrapper div with a set height and overflow using this modified example (jsfiddle), it becomes apparent that the solution is not functioning as expected.
Is there anyone who has a workaround or solution to address this issue?
Displayed below is the CSS code for the wrapper that I am currently working with:
.wrapper {
height: 500px;
overflow: scroll;
}