body {
background-color: blueviolet;
}
.leftcolumn {
width: 30%;
height: 100%;
float: left;
background-color: brown;
}
.middlecolumn {
float: left;
background-color: yellowgreen;
width: 60%;
height: 100%;
}
<body>
<div class="leftcolumn">
<div>
test1
</div>
</div>
<div class="middlecolumn">
test2
</div>
</body>
I am struggling to create a layout with three adjacent columns, each taking up the entire height of the screen.
The issue seems to be related to using 'float: left;' property. I'm uncertain about the alternative approach that could solve this problem.