Extra space at the bottom of the container for div floats
This is the current setting:
<div id="youtubelatestnews"> <div class="box youtubebox"> </div> <div class="latestnews"> </div> <div class="clear"></div> </div> But the problem is the <div> container, which is "youtubelatestnews", has too much space below.
Here is the website: http://voila.easywebprojects.com/
<div> I mean the section "Voyeur" and "Latest News".
+6
4 answers
The reason for the extra space is an even div, which will also clear the elements on the left.
You can remove the clear div and use overflow: hidden; in the div #youtubelatestnews. Since you do not have the height specified in it, the overflow style will only cause the element to contain its children.
+3