多个DIV让float:left属性,最后一个DIV填满剩余的部分
<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>
浙公网安备 33010602011771号