|
Actually, there's no need to add a whole new div just to clear floats. There are many methods, I like this simple method:
.brclear{
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0;
}
Then in my code, I add <br class="brclear" /> where I need it. Semantically it is a tiny bit of extra markup -- but pretty insignificant IMHO.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
|