Android 2.3 + Phonegap feste Positionierung funktioniert nicht

Auf meiner Phonegap-App versuche ich, eine feste Fuß- und Kopfzeile zu erkennen, die in Android 4.0 tatsächlich hervorragend funktioniert. Aber auf Android 2.3, auch wenn es in Ordnung aussieht, wenn ich mit dem Scrollen beginne, bleiben Kopf- und Fußzeile überhaupt nicht fixiert, da ich mit dem Scrollen mitarbeite.

Der entsprechende Code lautet wie folgt:

HTML:

<div class="container-fluid no-padding">
<div id="header">

</div>  
<div class="wrapper">
    <div id="main-content"></div>
    <div id="push"></div>
</div>
<div id="footer" class="main-footer">

</div>

CSS:

html,body,.container-fluid {
    height: 100%;
    font-family: Helvetica !important;
}

#wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -20px; /* the bottom margin is the negative value of the footer's height */
    overflow: scroll;
}

#footer, #push {
    height: 20px; /* .push must be the same height as .footer */
    width: 100%;
}

#footer {
    position: fixed;
    z-index: 10; /* Defect #9 */
    margin: 0;
    bottom:0px;
}

#header {
    position: fixed;
    z-index: 5;
    height: 40px;
    background-color: #FFFFFF;
    width: 100%;
    top: 0px !important;
}

#main-content {
    margin-top: 45px;
}

.main-footer {
    background-color: #cf2129;
    color: #FFFFFF;
}

Wenn es relevant ist, verwende ich nicht jQuery Mobile (der größte Teil der Markisen, die ich gefunden habe, bezieht sich auf), sondern Twitter Bootstrap.

Jede Anleitung ist willkommen

Antworten auf die Frage(3)

Ihre Antwort auf die Frage