2014-11-20 2 views
0

У меня есть устройство 4.0.3 и двойное 4.4.позиция: фиксированная; не работает, когда клавиатура открыта на kitkat

Следующий код, работающий с 4.0.3, но положением: исправлено не работает на kitkat при открытии клавиатуры. (Работает на WebView)

<style> 
body 
{ 

    margin:0; 
    padding:0; 
} 
#footer { 
    **position: fixed;** 
    bottom: 0; 
    width: 100%; 
    background:#99cc00; 
    height:60px; 
} 

</style> 
<center><input type="text" style="margin:100;"></center> 
<div id="footer"> 

Я нашел это entrys, но не решить мою проблему.

jQuery Mobile fixed footer is moving when the keyboard appears

window.resize due to virtual keyboard causes issues with jquery mobile

jQuery Mobile fixed footer is moving when the keyboard appears

ответ

1

Что звезды там? Попробуйте установить

position:fixed; 
bottom:0; 
left:0; 
Смежные вопросы