简体   繁体   English

jQuery移动Web应用程序在页面底部保留空白

[英]jquery mobile web app leave empty white space at page bottom

I have a web app (i used JQM) currently customized to iphone. 我有一个当前针对iPhone定制的Web应用程序(我使用JQM)。

all elements are fitted to the page height, but i'm getting a white space on the page bottom. 所有元素都适合页面高度,但是我在页面底部有空白。

when viewing the page on pc browser everything is fine, so i guess the problem is related to the iphone screen resolution configuration on some CSS file. 在PC浏览器上查看页面时,一切都很好,所以我想问题与某些CSS文件上的iPhone屏幕分辨率配置有关。

Please view the web page on your iPhone to see the white space (scroll down) : http://aspspider.org/elimiz/check4/MC_v1.0.htm 请在iPhone上查看网页以查看空白(向下滚动)http : //aspspider.org/elimiz/check4/MC_v1.0.htm

Help me 帮我

I'm not seeing the issue on my iPhone but it sounds like a problem I had on a site. 我没有在iPhone上看到问题,但这听起来像是我在网站上遇到的问题。 I fixed it by setting a wrapper surrounding all the content as overflow: hidden. 我通过将所有内容周围的包装器设置为“溢出:隐藏”来修复它。 It might take some trial and error to find which element to put this on, and you might need to define height values on elements that dont have height explicitly stated. 找到放置哪个元素可能要经过反复试验,并且可能需要在没有明确声明高度的元素上定义高度值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM