What i want to is when somebody use y scroll even in that case the header (which contains days and dates should be visible.) Please check the screen shot
Something using position:fixed and z-index etc.
(example i have seen :– when u open stack-overflow and ur JavaScript is disabled, then in that case a red colored message will appear and keep appearing even if u scroll down the page.)
So What i want to do is:–
Initially at page load this row will the be in between the page (as there are lot of other things above and once user scroll down it should be visible to user ie this sticks with the top of the page)
If I understand you correctly, you are looking for an element that is not located at the top of the page, but sticks to the top when you scroll down past it? This can be done with css and a little JavaScript magic (jQuery used for brevity):
Your element will behave normally if JS is disabled. Otherwise, the following snippet makes it dynamic:
Now you just have to adjust the value
100to equal the distance between the top of the page and the top of your element. So, if your element is250pxfrom the top, you would use250. If you are not sure you can play around with it until you get something that looks smooth.