【问题标题】:Website showing empty spaces on the right side in android phones安卓手机右侧显示空白的网站
【发布时间】:2021-08-20 19:22:35
【问题描述】:

我的网站在 iOS 和浏览器中运行良好,但在右侧的 Android 手机中显示空白。尝试了许多 css 编辑,但这并没有消失。

www.allorganik.in

有人可以帮忙吗?

提前致谢。

【问题讨论】:

    标签: responsive-design mobile-website


    【解决方案1】:

    想通了。

    在 CSS 中添加了这段代码,一切都得到了修复。

    /android 的视口设置/

    html { 宽度:100%;溢出-x:隐藏; !重要的; }
    身体{宽度:100%;溢出-x:隐藏; !重要的; }

    谢谢!

    【讨论】:

      猜你喜欢
      • 2013-09-27
      • 1970-01-01
      • 2014-08-14
      • 2013-09-18
      • 1970-01-01
      • 2012-01-07
      • 2015-02-15
      • 2020-06-20
      • 1970-01-01
      相关资源
      最近更新 更多