Does anyone know of a way to keep an element's position fixed relative to the window, not the page?

What I want is the {background-attachment: fixed} property in CSS only for DIV that will be on top other content.

More specifically I want a div block to be in the top left corner of the screen no matter where you scroll on the page.