在一个 DIV里放两个 DIV,如何使这两个DIV在同一行上
CODE:
<div style=”width:100px”>
<div style=”float:left; background-color:#CCCC00; width:50%”></div>
<div style=”float:left; background-color:#00CCFF;width:50%”></div>
</div>
<div style=”float:left; background-color:#CCCC00; width:50%”></div>
<div style=”float:left; background-color:#00CCFF;width:50%”></div>
</div>
float:left
width:小于50%就行了~~
width:小于50%就行了~~