我目前有麻烦摆脱白色条子的...如何摆脱DIV之间的白色棉条?
下面是一个例子页:http://m.stackoverflow.quickmediasolutions.com/view_question.php?id=97969&site=serverfault
正如你所看到的,答案具有的顶部之间塞入白色条子'按钮'和内容。
下面是一些相关的代码:
<!-- this is the top of the 'button' -->
<div class='top'></div>
<!-- right here is where the space is -->
<div class='content'></div>
.top {
height: 5px;
}
.content {
display: block;
padding-left: 10px;
}
编辑:这个问题已经得到解决,我会接受下面不久的答案。
你或许应该把定义
margin:0px;
这在http://doctype.com/ – 2010-05-29 20:10:29