Fix the div inside iframe at bottom of iPad

自古美人都是妖i 提交于 2019-12-06 16:13:11
Jack

The issue is how mobile safari renders iframes. It doesn't respect a height attribute, preferring to set the height of your iframe based on the height of your content. Personally, it makes sense when you think about how earlier versions of IOS handled overflowed scrolling (two finger scrolling) - Imagine an iframe that ALSO contained a scrollable element!

(A related stackoverflow here: iframe size with CSS on iOS)

Anyway, your "fixed" footer IS fixed - just at the bottom of a very large iframe.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!