For this, you need to use,
position: absolute;
top: 0;
Now it would be fixed on top (with top co-ordinate zero). To make it stay over the images and other files and resources you should use the z-index of CSS. Like this,
z-index: 100;
Now all other elements with their z-index less than 100 would be below this element. It would float over them.