How to make fixed header and footer

how to make footer and header as fixed in the mobile devices ? using css or css js. i have tried this iPhone Fixed Positioning Proof of Concept

but in android i couldnt make footer and header as fixed . any one give solution

That’s odd: I just read today that Android has supported position: fixed since version 2.2:

works fine on an android phone here?

using iscroll is well worked on iphone . but android is working for position:fixed not work on iscroll

iScroll 4is used for header and footer fixed in iphone