I'm using Foundation
by ZURB
and trying to get the nav bar to the top.
I have no idea what those 2 things are, but this is how you fix something in place regardless of window scroll position with CSS:
#navbar {
position: fixed;
top: 0px;
width: 100%;
}
See here: http://jsfiddle.net/qC2Dt/