Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 PhoneGap 编写一个网络应用程序。 另外,我想在主页中有一个背景图片。 但是,我知道有许多不同尺寸的设备。 如何适应每个设备,如果我想将按钮放在屏幕中间,是否需要通过检测每个设备的宽度和高度来计算绝对位置? 我真的很担心网络应用程序中每个项目的位置。 请帮忙解决。