如何设置不同的网站分辨率 [英] How to setup Different Website Resolution

查看:128
本文介绍了如何设置不同的网站分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何让我的网站使用所有屏幕分辨率?谢谢。

Does any one know how I could get my website to work with all screen resolution? Thanks.

推荐答案

关键是,我认为(并且有许多研究支持这一点)是最大限度地利用空白区域。它减少了眼睛的压力,使网站阅读和导航更加愉快。如果你查看很多页面,他们会设计一个分辨率(它们支持的最低分辨率),然后使用边距来显示空白区域。



使用无用信息填充边距的页面很难使用。看看这个网站,MSN,谷歌等。有很多空白区域,有很多流量。
The key, I think (and there are many studies to support this) is to maximize the use of white-space. It reduces strain on the eye and makes the site much more pleasant to read and navigate. If you look at a lot of pages, they design for one resolution (the lowest they support) and then use margins to show white-space.

Pages that fill the margins with useless information are difficult to use. Look at this site, MSN, Google, etc. Lots of white space, lots of traffic.


计算机Wiz问:

有没有办法将网站设置到所有浏览器上的正确位置?

Is there a way to setup the site to where it looks right on all the browsers?

我不知道是否可以,但这是可能的。这取决于有人会认为什么是正确。



你不能做到这一点,使网站在不同的系统和浏览器上看起来相同。这些天,它几乎是不可能的。不幸的是,所有浏览器(更准确地说,布局引擎)都会略微(有时会引起惊人的)差异呈现内容,它们并没有完全实现现有标准,而且标准远未成熟,它们在描述行为时也有一些烦躁。



你不应该试着这样做。你仍然可以使外观网站正确和可识别,但建议遵循建议更容易。请参阅我以前的回答:

修复分辨率和浏览器不兼容 [ ^ ]。



-SA

I don't know if you can, but this is possible. It depends on what's someone would consider as "right".

What you cannot do it to make the site looking identical on different systems and browsers. These days, it is still nearly impossible. Unfortunately, all browsers (more exactly, layout engines) render content with slight (sometime amazingly noticeable) differences, they don't implement existing standards exactly, and the standards are far from being mature, they also have some fussiness in description of the behavior.

And you should not try to do that. You still can make look sites "right" and recognizable, but it's easier to advise that to follow the advice. Please see my past answer:
Fix resolution and browser incompatibility[^].

—SA


您无法在Web应用程序中更改分辨率不应该在任何其他应用程序中执行此操作。出于明显的安全原因,Web应用程序无法访问客户端系统。您只需要相反的行为:您的应用程序不应该是严格的,它应该适合浏览器窗口的各种大小(而不仅仅是在此上下文中甚至无关的分辨率)。您需要学习并考虑使用液体液体弹性设计。请参阅我以前的回答:

获取屏幕分辨率 [ ^ ]。



-SA
You cannot change resolution in a Web application and should not do it in any other applications. Web applications don't have access to client systems, by apparent safety reasons. You want just the opposite behavior: your application should not be rigid, it should fit to a wide range of the sizes of the browser window (not just resolution which is even irrelevant in this context). You need to learn and consider the use of liquid, fluid and elastic design. Please see my past answer:
To Get Screen resolution[^].

—SA


这篇关于如何设置不同的网站分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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