Currently, I am dealing with a two-column layout where both columns have a height of 100%. Everything seems to be working fine in that aspect.
However, an issue arises when the content in the left column expands due to a dropdown menu being activated.
Below, you can see the code snippet that demonstrates the problem. I have purposely added another div inside the left column to show that the right column does not expand in height accordingly.
<!doctype html>
<html style="min-height:100%;height:100%">
<head>
<title>test</title>
</head>
<body style="min-height:100%;margin:0;background-color:#ccc;height:100%">
<div style="width:30%;background-color:green;;float:left;min-height:100%"><div style="height:900px">Green</div></div>
<div style="width:60%;background-color:red;float:right;min-height:100%">Red</div>
</body>
</html>
I am seeking a suitable solution to ensure that the right column expands in height whenever the left column does.