Sure can. In CSS, for each element, you can specify a "position". In this 
case you want, "position: fixed;" to make the element stay at the top along 
with  "top: 0;", or whatever placement from the top you want it.

Looking at Twitter Bootstrap's docs, you want lines 184 -187 
probably: 
https://github.com/twitter/bootstrap/blob/master/docs/assets/css/docs.css#L183

Further reading: https://developer.mozilla.org/en/CSS/position

Hope that helps.

-Kevin

On Sunday, June 3, 2012 7:21:51 AM UTC-4, Philip John wrote:
>
> Hi folks, 
>
> I have my navbar below a short header (i.e. not fixed to the top), 
> similar to this site: http://bragthemes.com/ 
>
> When scrolling down the page, the navbar disappears out of view along 
> with the rest of the content. However, I want it to dynamically fix 
> itself to the top of the window, just like the subnavs at 
> http://twitter.github.com/bootstrap/components.html#navs do. 
>
> Is there any way to do that, and if so, how? 
>
> Many thanks, 
> Phil

Reply via email to