gpt4 book ai didi

android - 位置 : fixed; not working when keyboard opened on kitkat

转载 作者:太空宇宙 更新时间:2023-11-04 12:39:05 24 4
gpt4 key购买 nike

我有 3 个设备 4.0.3 和双胞胎 4.4。

以下代码可在 4.0.3 上运行,但 position:fixed 在键盘打开时无法在 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">

我找到了这个条目,但没有解决我的问题。

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

最佳答案

那里有什么星星?尝试设置

position:fixed; 
bottom:0;
left:0;

关于android - 位置 : fixed; not working when keyboard opened on kitkat,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27034674/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com