2

我花了两天时间试图找出我的移动网站的情况,因为它没有在我的 HTC sense 智能手机上显示。我仍然可以从智能手机上看到电脑版,但看不到手机版。我安装了 PHP 网络服务器,但移动网站仍然不显示。我尝试了不同的代码方法,但都没有奏效。有人可以帮我一些想法吗?

另外:我的“index.html”页面(用于移动站点)位于名为“mobile”的文件夹中(在根文件夹中) 我的“index.html”页面(用于 PC 站点)位于常规根文件夹中。

我的标准网站是:www.accurateprinting.com/index.html

我的手机页面是:http ://www.accurateprinting.com/mobile/index.html

我将不胜感激任何帮助。

非常感谢。

4

1 回答 1

2

从控制台输出:

Viewport argument value "device-width;" for key "width" is invalid, and has been ignored. Note that ';' is not a separator in viewport values. The list should be comma-separated. index.html:6
Viewport argument value "1.0;" for key "initial-scale" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated. index.html:6
Viewport argument value "1.0;" for key "maximum-scale" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated. index.html:6
Viewport argument value "no;" for key "user-scalable" is invalid, and has been ignored. Note that ';' is not a separator in viewport values. The list should be comma-separated. index.html:6

我认为,您应该使用 ,而不是 ;

于 2013-10-09T21:37:46.370 回答