Asp.Net 2010屏幕尺寸问题 [英] Asp.Net 2010 Screen Size Problem

查看:83
本文介绍了Asp.Net 2010屏幕尺寸问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的第一个项目。我已经设计了一个带有表的项目,包含了li对象。在1490 X分辨率的系统上它很不错..

之后我把项目带到我的家用电脑1024x768 rsolution,那个项目输出有坏...和屏幕,不像以前的分辨率输出。所以,如何解决这个问题...各种浏览器和各种分辨率?



有没有具体的方法?



感谢指导..

Hi, It's my first project. I have designed a project with table, consisting the li objects..It's nice on that system for 1490 X resolution..
After that I have taken the project to my home computer 1024x768 rsolution, that project output has bad..And the screen,not like the previous resolution output. so, how to solve this problem..with various browsers and various resolutions?

Does any specific method is there?

Thanks for the guidances..

推荐答案

从一开始就依赖于任何特定窗口大小的Web设计的想法是错误的。您忘记了用户可以随时更改窗口大小。



此外,使用JavaScript获取窗口大小毫无意义(但可能)。相反,您应该按照各种尺寸自动排列的方式设计页面。考虑最简单的样式,您只使用段落,标题和其他简单元素。他们会自动安排好。为什么不是其他页面?解决这个问题的方法之一是采用液体,流体,弹性设计。请参阅我过去的回答:

获取屏幕分辨率 [ ^ ]。



-SA
The idea of Web design relying on any particular window size is wrong from the very beginning. You forget that the user can change the window size at any time.

Also, it's pointless (however possible) to fetch the window size using JavaScript. Instead, you should design your pages the way they automatically arrange themselves reasonably well in a wide range of sizes. Consider simplest style where you use just paragraphs, headers and other simple elements. They will arrange automatically and nicely. Why not other pages? One of the way to solve this problem would be to embrace liquid, fluid, elastic design. Please see my past answer:
To Get Screen resolution[^].

—SA


这篇关于Asp.Net 2010屏幕尺寸问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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