0
如何讓綠色和此jsfiddle中的紅色div與藍色div的內容一起展開?基於內容高度的CSS div高度div
<html style="height: 100%" >
<head runat="server">
<title></title>
<asp:ContentPlaceHolder id="ContentPlaceHolder" runat="server">
</asp:ContentPlaceHolder>
</head>
<body style="height: 100%; background-color: grey">
<form id="form1" runat="server">
<div style="background-color: fuchsia; height: 50px; width: 100%; float: left; "></div>
<div style="background-color: green; min-height: 100%; width: 20%; float: left; ">oo</div>
<div style="background-color: blue; float: left; width:60%; height: 100%" >
test
</br> test
</br> test
</br> test
</br> test
</br> test
</br> test
</br> test
</br> test
</br> test
</br> test
</br> test
</br> test
</br>
</div>
<div style="background-color: red; float: left; width: 20%; height: 200px;"></div>
</form>
</body>
</html>