css - ios 系统下 不支持 position: fixed; ios8 系统
ringa_lee
ringa_lee 2017-04-17 16:03:07
[iOS讨论组]
<footer class="foot" >
    <input type="text" />
</footer>
<style>
.head,.foot{position:fixed;left:0;height:38px;line-height:38px;width:100%;background-color:#99CC00;}
.head{top:0;}
.foot{bottom:0;}
.main{position:fixed;top:38px;bottom:38px;width:100%;overflow:scroll;background-color:#BABABA;}
</style>


解决方案 这个没用 坑货:http://www.douban.com/note/341635041/




手机可以访问 http://nnn.li/index4.html IOS 苹果访问 点击输入框

或者访问 国外大神的解决地址demo http://output.jsbin.com/oqamad/1/

当用ios 手机访问到该页面, 滚动到页面中间部分的时候, 点击输入框,弹出键盘,输入框 就飘到屏幕上方了 而不是贴附在键盘上方

页面浏览 情况

在点击输入法后 出现错误 漂移了、

改如何解决呢

ringa_lee
ringa_lee

ringa_lee

全部回复(0)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号