页面底部巨大的白色空间 [英] Huge White Space At Bottom Of Page
本文介绍了页面底部巨大的白色空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以下是网址:
谢谢!
解决方案
看起来像这是问题:
img {
width :110%;
身高:150%;
}
这是造成这张图片大大增加的原因:
< img alt =border =0src =https://www.paypalobjects.com/en_US/i/scr/pixel。 gifwidth =1height =1>
对于图片,我倾向于使用以下内容:
img {
height:auto;
最大宽度:100%;
}
I've obviously screwed up somewhere with the height in my webpage. I'm getting a massive amount of white space at the bottom of the page, way after the content. I can't find the specific problem, I've tried many different things. I thought it was time for someone else to take a look.
Here's the url:
Thanks!
解决方案
It looks like this is the issue:
img {
width: 110%;
height: 150%;
}
Which is causing this image to enlarge greatly:
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
For images, I tend to use the following:
img {
height: auto;
max-width: 100%;
}
这篇关于页面底部巨大的白色空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文