gpt4 book ai didi

android - 网站页脚在我的移动设备上不稳定

转载 作者:行者123 更新时间:2023-11-28 03:11:39 24 4
gpt4 key购买 nike

我的网站http://galnova.com/刚刚进行了响应升级。它在浏览器上很好,但是当我在我的三星设备上查看它时,页面不会滚动并且它像疯了一样摇晃。我在页脚类或结构本身中找不到任何错误,但我很好奇为什么会这样。

<footer>
<div class="wrap">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png" /></a><br />This work by <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.galnova.com" property="cc:attributionName" rel="cc:attributionURL">Keith Jeter</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US">Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License</a>.<!--<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="http://www.galnova.com" rel="dct:source">http://www.galnova.com</a>.-->

<p class="pull-right"><a href="#">Back to top</a></p>
<p>&copy; 2015 Galaxy Supernova &middot; <!--<a href="#">Privacy</a> &middot; <a href="#">Terms</a>--></p>
</div>
</footer>

最佳答案

尝试为您的页脚添加定义的高度,并报告任何效果。

像这样:

@media (max-width: 767px)
footer {
border-radius: 0!important;
border: none!important;
margin: 0!important;
height: 400px;
}

编辑:忽略以上内容;问题来自 Pirobox 覆盖插件。从 CSS 的 Angular 来看,我注意到的一个快速修复是将 overflow: hidden 添加到 Pirobox stylesheet you reference 中的 .piro_html 类。 ,像这样:

.piro_html {
position: absolute;
top: 0;
left: 0;
padding: 0;
width: 500px;
height: 500px;
margin: 0;
display: block;
padding: 0;
z-index: 150001;
padding: 0;
overflow: hidden;
}

这样做会导致您丢失小的“X”封闭框,但由于您可以点击暴露的正文副本上的任意位置以退出灯箱,这似乎是一个可接受且干净的解决方案。您还可以研究使用 jQuery 代码。

让我知道这是否适合您。

关于android - 网站页脚在我的移动设备上不稳定,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30258141/

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