<DIV style="border:1px solid red; overflow:hidden;zoom:1;">
<DIV style=‘float:left; background:yellow;‘>yellow</DIV> <DIV style=‘float:left; background:green;‘>green</DIV> <DIV style=‘float:left; background:blue;‘>blue</DIV> <DIV style=‘float:left; background:gold;‘>gold</DIV> <DIV style=‘background:red; _float:left;‘><div style="_width:100%;">red</div></DIV> </DIV>多个DIV让float:left属性,最后一个DIV填满剩余的部分
原文:http://www.cnblogs.com/jweb/p/4614764.html