开发者

Are there any multi screen size/aspect-ratio libraries for web developers?

There are many different viewing devices nowadays. Monitors, netbooks, slates, mobile phones, TVs, etc. and even within each of those categories they vary in size, resolution, aspect ratio, etc.

So my question is: Are there any libraries for web developers with intelligent restructuring of viewa开发者_StackOverflow社区ble elements on the page depending on screen size, resolution, and aspect ratio? A sort of write once view by all screens kind of library?


Look at the Less Framework:

http://lessframework.com/


You should investigate the "liquid layout" concept. Here's one link, but there is a lot of reading out there on the Web.


As Robusto said, it sounds like liquid layout is what you want. cssliquid.com has a page full of good resources related to this concept. Most of these solutions are CSS based, not Javascript.

However, at some point the content will probably need to be restructured for various devices along with the layout. For example, while the same content may work for both a desktop monitor and a netbook, it probably won't be good for a small mobile phone, regardless of how the layout is changed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜