如何处理CSS中不同的屏幕分辨率? [英] How to deal with different screen resolutions in CSS?

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

问题描述

我是新的UI设计 - 想知道什么最好的方式来处理不同的屏幕分辨率是什么时候定位各种HTML元素?

I am new to UI design- was wondering what the best way to deal with different screen resolutions is when positioning various HTML elements? I thought using %ages would be the way forward but turns out it isn't!

推荐答案

你应该考虑使用%看看液体布局。这涉及基于用户浏览器大小的扩展或合同网页 -

You should take a look at liquid layouts. This deals with an expanding or contracting web page based on a users browser size -

http://www.maxdesign.com.au/articles/liquid/

http://www.alistapart.com/articles/negativemargins/

这篇关于如何处理CSS中不同的屏幕分辨率?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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