Issue with keeping a div class floating down with the page
I've been trying a few things but cannot get it to work. I have a div in the right column and I want it to float down to a certain point with the page while scrolling.
<div class="stickyDiv"> <div class="section mod-sticky" style="position: fixed; top: 70px;"> <p>Always float with page</p> </div> </div>
Is there any easy way to do this with jQuery? Or just css?
made a quick jsfiddle what I want is that as soon as it reaches class contentb it will scroll with the page