推荐的移动尺寸

发布于 2024-10-16 14:13:34 字数 166 浏览 11 评论 0原文

我正在开始第一次涉足移动网站设计 - 我已经设置了一种将移动用户重定向到单独 URL 的方法,但现在我需要设计网站的移动版本(针对 Android / iPhone 等智能手机) 。我应该将其创建为什么尺寸?有没有办法强制移动浏览器缩小内容? (目前我的网站在移动窗口中显得非常大,您必须水平和垂直滚动才能看到全部)。

I'm embarking on my first foray into mobile site design - I've set up a method to redirect mobile users to a separate URL, but now I need to design the mobile version of the site (targeting smart phones like Android / iPhone). What dimensions should I create this to? Is there a way to force mobile browsers to scale the content down? (Currently my site just appears very big within the mobile window and you must scroll horizontally and vertically to see it all).

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

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

发布评论

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

评论(1

千鲤 2024-10-23 14:13:34

320 X 480 像素是移动网站的标准。

关于移动设备页脚,您绝对必须了解的事情。
iPhone 是所有浏览器中的混蛋,没有模拟器能够正确模拟它 - 特别是:
CSS 页脚样式 - 位置:固定;底部:0;
甚至不要尝试。
iPhone仅识别位置:相对;

iPhone 不识别固定的位置样式 - 如果您希望页脚保留在底部。

320 X 480 pixels is standard for mobile sites.

Things you ABSOLUTELY MUST KNOW about footers for mobile.
iPhone has the bastard of all browsers and no emulator emultates it correctly for - specifically:
CSS footer style - position:fixed; bottom:0;
Don't even try it.
iPhone only recognizes position:relative;

iPhones do not recoginized the position style of fixed - in case you want a footer to stay on teh bottom.

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