底部的 CSS 页脚与 jQuerymobile

标签 css jquery-mobile footer

同样问题成功解决here但是使用 jquerymobile

这是工作脚本,没有 jQmobile
http://jsfiddle.net/ca11111/tCdPX/12/

现在只需添加 jQmobile 脚本和链接头标签:
http://jsfiddle.net/ca11111/tCdPX/13/

没用

最佳答案

jQuery Mobile 添加了一个带有类 ui-page 的页面包装器。它也需要 css 定义 height: 100%;

ui-page 类添加到 html 和 body 的 css 定义中:

html, body, .ui-page {
    height: 100%;
}

另见 your updated example .

关于底部的 CSS 页脚与 jQuerymobile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10869302/

相关文章:

jquery - 页脚动画和 jQuery?

css - 如何设置 rem 的基本大小

jquery - Css/jQuery/mobile responsive - 如何让我的动画响应?

javascript - 动态添加按钮后刷新 jQm header

jquery - 如何从外部页面链接到jquery移动子页面?

menu - 下拉菜单打破粘性页脚

javascript - Vue.js 转换 : animate height while using slide out animation

javascript - Datetimepicker 日历未在正确的位置打开

javascript - 如何使用phonegap在android中实现加载更多功能?

css - 为什么我的页脚一直向下?