I would like to create a div, that is situated beneath a block of content but that once the page has been scrolled enough to contact its top boundary, becomes fixed in place
In javascript you can do:
var element = document.getElementById("myid"); element.style.position = "fixed"; element.style.top = "0%";