When using overflow: hidden, it does just that. Is there I was I can actually remove the overflow? For example, if you hide the overflow of one div, then have another directly under it, the overflow will keep the second div from being right under the first, it will have an empty space where the hidden overflow is. You can see this in my example JSFiddle here: http://jsfiddle.net/ZdvYg/
HTML:
<div id="id1">
<p>This is text</p>
<p>This is more text</p>
</div>
<div id="id2">
<p>This is text</p>
<p>This is more text</p>
</div>
CSS:
#id1 {
background-color:red;
height: 40px;
overflow: hidden;
}
#id2 {
background-color:yellow;
}
In the JSFiddle, I want to remove the whitespace where "This is more text" is, so the background colors should be touching.