你如何使网页自动改变宽度? [英] How do you make a webpage change its width automatically?
本文介绍了你如何使网页自动改变宽度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用百分比单位来实现流体宽度或em单位。这完全是关于基于网格和容器制作网站布局。 阅读更多。
In HTML, is there a way to make a webpage expand to the user's monitor? Like say I have a 15inch, but someone else has a 24 inch. The webpage would be small on their screen, but would fit on min. How would I make the page expand to 100%, or maybe 95%?
解决方案
Fluid-width is achieved by using percentage units or em units. It's all about crafting a site layout based on grids and containers. Read more.
这篇关于你如何使网页自动改变宽度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文