如何让 div id="left"像 div right_up 和 right_down 一样高度相等?
<div style="width: 1050px;">
<div id="left" style="width: 80%;height:80%;min-height: 80%;float: left; background-color: blueviolet;">a</div>
<div id="right_up" style="width: 20%;height:40%;min-height: 40%; float: left; background-color: yellow;">
<p>some text using paragraphs</p><p>some text</p>
<ul>
<li>some text using lists</li>
<li>some text</li>
</ul>
</div>
<div id="right_down" style="width: 20%;min-height: 40%;height:40%; float: left; background-color: aqua; margin-left: 80%;">
<p>some text using paragraphs</p><p>some text</p>
<ul>
<li>some text using lists</li>
<li>some text</li>
</ul>
</div>
</div>
最佳答案
对我来说删除
margin-left: 80%;
来自 div id="right_down"
关于css - div高度问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4001351/