I am facing an issue with two divs, .instructions
and .personal_info
, that I want to be stacked one on top of the other. Currently, it seems like the two divs are being overlaid, which is not the desired outcome. Specifically, I would like .instructions
to remain in its current position, while .personal_info
should appear below it.
I have provided my code snippet below. Can someone please point out what I might be doing wrong here?
.instructions {
width: 100%;
padding: 10px;
}
.column-left {
float: left;
width: 33%;
padding: 0px 10px;
}
.column-right {
float: right;
width: 33%;
padding: 25px 10px 0px 10px;
}
.column-center {
float: left;
width: 33%;
padding: 25px 10px 0px 10px;
}
.personal_info {
border-top: 2px solid black;
border-bottom: 2px solid black;
padding: 5px;
}
<div class="instructions">
<div class="column-left"></div>
<div class="column-center"></div>
<div class="column-right"></div>
</div>
<div class="personal_info">
<p></p>
</div>