简体   繁体   English

网站的移动版本

[英]mobile version of a website

I am making a mobile version of my website but I am facing a problem. 我正在制作网站的移动版本,但遇到了问题。 I googled a lot but I could not find anything. 我在Google上搜索了很多,但找不到任何东西。 When I open the mobile version with opera mobile, the mobile version is as big as the screen and if I zoom it to 100%, it becames too big for the screen and I have to scroll to see the whole website like I am using the desktop version. 当我用Opera mobile打开移动版本时,移动版本与屏幕一样大,如果将其缩放到100%,则屏幕变得太大,因此必须滚动浏览整个网站,就像我正在使用桌面版。 If I open the website with nokia browser, the mobile version fits the screen of my mobile and it looks cool. 如果我使用诺基亚浏览器打开网站,那么移动版本适合我的移动设备的屏幕,看起来很酷。

Every suggestion is welcomed. 任何建议都值得欢迎。

Thanks 谢谢

Try looking into CSS Media Queries and the viewport meta tag. 尝试查看CSS Media Queries和视口元标记。

Some info on it, especially from the point of view of developing for opera, can be found in these articles 在这些文章中可以找到一些有关它的信息,尤其是从歌剧开发的角度来看

I especially urge you to check out the article on viewport. 我特别敦促您查看有关视口的文章。

jQuery Mobilee是拥有网站移动版本的好工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM