2013-07-23 51 views
0
的底部

我是使用Divs的新手,我遇到了空白问题,无论如何我都无法摆脱它。我搜索谷歌大约一个小时试图解决我的问题,但我没有运气,所以我在这里问作为最后的手段,因为我知道你们是一个聪明的一群。我非常感谢一些帮助,因为我花了更多的时间来解决这个问题,而不是我创建了布局,哈哈。多余的空间在Div

下面是它在做什么:(极顶框下什么新) http://myghostsisterandme.webs.com/indexredesign.html

这里是我的代码:

<div id="header">&nbsp;&nbsp;&nbsp; 23.6.2013&nbsp&nbsp|&nbsp&nbsp WEBVEE GUIDE REVIEWED US</div> 
<div id="middle"> 
<div id="container"> 
<div id="content"> 
<img src="/webveelogo.png"> 
</div> 
<div class="sidebar" id="sideRight"> 
Webvee Guide has reviewed us! 
<br> 
"The supernatural aspect may be the hood ornament, but underneath the hood (or bonnet) is an earthly story about love and loss and the importance of family. You have to like that." 
<br>More at: <a href="http://webveeguide.com/reviews/2013/06/my-ghost-sister-and-me" target="_blank">http://webveeguide.com/reviews/2013/06/my-ghost-sister-and-me</a> 
<br> 
- Jay 
</div> 
+2

这就是问题:#middle {padding:0 0 1 00px}。右键单击> Inspect => salvation – aletzo

+0

哇,这么简单!我感到很蠢,哈哈。非常感谢你修复它:) @aletzo –

+0

永远不会觉得愚蠢。也许很累:) – aletzo

回答

0

给人以填充或保证金或高度

如一个空div :

<div style="height:20px;">&nbsp;</div>