网页的最佳绝对宽度是多少? [英] What is the best absolute width for a webpage?

查看:93
本文介绍了网页的最佳绝对宽度是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设流体布局不是一个选项(因为这是一个不同的讨论),网站布局的建议宽度是多少?

Assuming a fluid layout is not an option (since that is a different discussion all together), what is the recommended width for a site layout? What are the pros and cons of different sizes?

推荐答案

我一直使用960像素,因为它在1024x768上可见,而且可在整数2,3,4,5,6,8,10,12,15,16,20,24,30,32,40,48,60,64,80,96,120,160,192,240 ,320和480 ...所以我可以拆分我的网站的设计(使用三分法的规则)干净。

I've always kept with 960px as it's viewable on 1024x768, and is cleanly divisible by 2, 3, 4, 5, 6, 8, 10, 12, 15, 16, 20, 24, 30, 32, 40, 48, 60, 64, 80, 96, 120, 160, 192, 240, 320 and 480... so I can split up the design of my site (using the rule of thirds) cleanly.

编辑几年后:
请考虑使用 CSS媒体查询,使您的内容能够响应无数设备现在如果你不能使用流畅的布局。我不确定在2012年可以声明一个像素宽度来统治它们。

EDIT after a few years: Please consider using CSS Media Queries to make your content responsive to the myriad of devices out there now if you can't use a fluid layout. I'm not sure that one can claim one pixel width to rule them all in 2012.

这篇关于网页的最佳绝对宽度是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆