问题描述
我最近将网页上传到服务器,并已在不同的屏幕尺寸和分辨率下对其进行了测试.在下载到较小的分辨率(例如800 x 600、640 x 480和240 x 320)之前,我的网页看起来不错.尽管我尚未对此进行测试,但我也想知道我的网站如何在小型便携式手持设备上下载-手持设备.
为了测试我的网页,我尝试更改正文代码,尝试使用宽度,边距,填充等无效.
谁能告诉我应该使用什么代码使我的网页扩展到所有分辨率?我已经上网寻找想法,但没有运气.
I have recently uploaded my web pages to a server and have been testing it in different screen sizes and resolutions. My web pages look good until I download to smaller resolutions such as 800 x 600, 640 x 480 and 240 x 320. Although, I haven''t tested for these yet I also wonder how my web site would download on small portable hand-held devices.
To test my web pages I have tried changing the code of the body, experimenting with width, margin, padding, etc to no avail.
Can anyone tell me what code I should be using to make my web page scalable to all resolutions? I have gone online looking for ideas but haven''t had any luck.
推荐答案
这篇关于使网页适合所有屏幕尺寸/分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!