iPhone 显示 WordPress 网站错误

发布于 2024-11-18 23:56:09 字数 343 浏览 1 评论 0原文

所以我有一个 WordPress 网站,我一直致力于在网络浏览器中显示良好。

这是网站。 xs sailing

当它加载到 iPhone 上时,它看起来像所附的图片。左边什么都没有,我根本无法向左滚动。 iPhone 上的网站图片

有什么想法吗?

提前致谢!

So I have a wordpress site I have been working on displaying fine in web broswers.

Here's the site. xs sailing

When it loads on the iphone it looks like the picture attached. There is nothing to the left and I cannot scroll left at all.
Picture of site on iphone

any ideas?

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

若相惜即相离 2024-11-25 23:56:09

但您甚至没有所需的 iDevices 标签,因此 Mobile Safari 会做出假设,并且可能有一些错误的假设。

您应该在代码上设置一些值,以使一切顺利进行。

让我们从 开始viewport

<meta name="viewport" 
      content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">

然后,你有一个 一堆元标记可以与


Plus一起使用应该始终验证您的网站...如果您的验证错误超过 1100 个,请不要指望一切都能顺利运行!甚至还有没有关闭标签的打开标签......

But you don't even have the needed iDevices tags, so Mobile Safari will make assumptions and maybe it's having some wrong ones.

you should set some values on your code to make all go nice and well.

let's start with the viewport

<meta name="viewport" 
      content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">

and then, you have a bunch of meta tags to play with


Plus you should ALWAYS validate your site... don't expect that everything will run smooth if you have more than 1100 validation errors! There's even opened tags without their close tag...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文