I have one container <div>
with two children <div>
elements inside of it. I want to place one child <div>
at the top and other child <div>
at the bottom of the container <div>
. The middle part (the content) should scroll between the top and bottom child <div>
elements.
I want both children <div>
elements inside the container <div>
to have a fixed position and the content should scroll without scrolling both top and bottom div.
I'd like a solution using CSS or jQuery, please. For a JSFiddle example, see my comment below.