Is it Possible to have a div which is vertically fixed and horizontally static(ie scrolls with the page)

I am trying to have a

based Header bar on top of my webpage.
I can fix the bar or make it static, but my trouble is that i want the bar to be static horizontally when i move the bar to the right (ie scrolls with the page) and fix the bar vertically so that if i scroll down the headers are visible.

Can anybody kinldy share a solution for this??????????? Sad(

Syndicate content