HTML网页适合所有屏幕分辨率 [英] HTML web page to fit into all Screen Resolution

查看:452
本文介绍了HTML网页适合所有屏幕分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设计了我的HTML网页,屏幕分辨率为1024 * 768,在代码中,整页表宽度和高度为800 * 600,它在分辨率为1024 * 768的系统中正常运行。但是当我以更高的分辨率(1280 * 768)或更高的分辨率运行相同的页面时,它会在网页底部以白色空格运行。如何设置我的网页以适应所有屏幕分辨率

解决方案

本文将帮助您亲爱的 -

http://www.techguywebsolutions.com/designing-a-website-for-all-screen- resolutions.html [ ^ ]



正如他建议使用百分比代替使用像素的宽度或高度。


Refer类似的讨论这里 [ ^ ]



也看看这篇文章:基于监视器的设计页面大小决议 [ ^ ]

I Designed my HTML web page with the screen resolution 1024*768 and in the code, whole page table width & height is 800* 600 it''s running properly in the system with resolution 1024*768. but when i running the same page with Higher resolution(1280*768)or other than higher it''s running with white Spaces in the bottom of the web page. how do i can set my web page to fit into all screen resolution

解决方案

This Article Will help You Dear-
http://www.techguywebsolutions.com/designing-a-website-for-all-screen-resolutions.html[^]

As He Suggested use percentage for width or height in place of using Pixels.


Refer similar discussion here[^]

also have a look on this article: Design Page Sizes Based on Monitor Resolutions[^]


这篇关于HTML网页适合所有屏幕分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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