<div style="width:500px;margin:0 auto;border:1px solid #ccc"><div style="width:100px;background:red;float:left;height:100%;min-height:100px;"></div><div style="width:300px;background:blue;float:left">這里是內(nèi)容<br />這里是內(nèi)容<br />這里是內(nèi)容<br />這里是內(nèi)容<br />這里是內(nèi)容<br />這里是內(nèi)容<br />這里是內(nèi)容<br />這里是內(nèi)容<br />這里是內(nèi)容<br /></div><div style="width:100px;background:yellow;float:left;height:100%;min-height:100px;"></div><div style="clear:both"></div></div>現(xiàn)在要左右背景為紅黃的DIV 高度為大DIV的高度 撐開 ,應該怎么實現(xiàn)哦? height:100%沒用
添加回答
舉報
0/150
提交
取消