<div id="div" style="background-color:red; width:1000px; height:250px" >
<div id="div02" style="background-color:yellow; height:250px; width:500px;" >XXXXX</div>
<div id="div03" style="background-color:green; height:250px; width:500px;" >XXXXX</div>
</div>
运行后输出
yellow red
green
为什么不是
yellow green
里边两个div为什么不是左右排列?!!??!
<div id="div02" style="background-color:yellow; height:250px; width:500px;" >XXXXX</div>
<div id="div03" style="background-color:green; height:250px; width:500px;" >XXXXX</div>
</div>
运行后输出
yellow red
green
为什么不是
yellow green
里边两个div为什么不是左右排列?!!??!
