How to get rid of this sliver of white between DIVs?

Posted by George Edison on Stack Overflow See other posts from Stack Overflow or by George Edison
Published on 2010-05-29T20:07:41Z Indexed on 2010/05/29 20:12 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

I am currently having trouble getting rid of a sliver of white...

Here is an example page: http://m.stackoverflow.quickmediasolutions.com/view_question.php?id=97969&site=serverfault

As you can see, the answers have a sliver of white stuffed between the top of the 'button' and the content.

Here is some relevant code:

<!-- 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;
}

© Stack Overflow or respective owner

Related posts about html

Related posts about css