Html 如何在 Safari 移动版中检查我的网站是否正常工作?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10616484/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 00:27:40  来源:igfitidea点击:

How I can check my website work in Safari mobile?

htmlcssmobile-safari

提问by user1377045

I have made a website that's work fine on my computer (through all modern browser). Someone reported it's not worked from Safari mobile.

我制作了一个在我的电脑上运行良好的网站(通过所有现代浏览器)。有人报告说它不适用于 Safari 移动版。

I have tried to see from Safari on windows that's make me look same as I want.

我试图从 Windows 上的 Safari 中看到这让我看起来和我想要的一样。

I have seen their screenshot and feel something wrong with my UI. Can someone have idea how I can check the look from my computer (windows).

我看过他们的截图,觉得我的用户界面有问题。有人可以知道如何从我的计算机(Windows)查看外观。

How I can test my website for safari mobile from my computer.

我如何从我的电脑测试我的 Safari 移动版网站。

回答by ggeo

You can actually download and install Safari in your computer and then check your website with all the available versions of safari for mobile. Choose Preferences->Advanced->Show developer menu in menu bar.

您实际上可以在您的计算机上下载并安装 Safari,然后使用所有可用的 safari 移动版本检查您的网站。选择首选项->高级->在菜单栏中显示开发人员菜单。

Finally, right click inside your website and then User Agent-> and then choose the safari version you want. Check this link for further information

最后,右键单击您的网站,然后单击 User Agent->,然后选择您想要的 safari 版本。检查此链接以获取更多信息

回答by cgvector

Click "develop" on the top menu, then click on "user agent" and select your device... and navigate to your website.

单击顶部菜单上的“开发”,然后单击“用户代理”并选择您的设备...并导航到您的网站。

回答by owise1

Chrome Developer Toolshas device emulation.

Chrome 开发者工具具有设备模拟功能。

回答by kuzditomi

check this out: http://webtide.wordpress.com/2009/09/14/how-to-test-websites-for-mobile-devices/

看看这个:http: //webtide.wordpress.com/2009/09/14/how-to-test-websites-for-mobile-devices/

What you will need:

Safari Testing for iPhone/iPod Touch:

Open Safari and go to Preferences (Edit->Preferences).
Under the Advanced tab, ensure that “Show Develop menu in menu bar” is checked. In the menu, click on Develop->User Agent->Mobile Safari 3.0 Browse to your website and start testing!

你需要什么:

iPhone/iPod Touch Safari 测试:

打开 Safari 并转到首选项(编辑->首选项)。
在“高级”选项卡下,确保选中“在菜单栏中显示开发菜单”。在菜单中,点击 Develop->User Agent->Mobile Safari 3.0 浏览到您的网站并开始测试!