Friday 14 December 2012

Div solution doesn't work when div is in a container


Simple, add a clearing element just before the closing
.I use this method:

.brclear{
clear:both; 
height:0; 
margin:0; 
font-size: 1px; 
line-height: 0; 


Then
in the HTML - works every time - whereas using overflow can have the consequences you described.

No comments:

Post a Comment