Alright so I was attemping to make these 4 divs inside a div be centered on the screen (both horizonally and vertically) but they are stuck to the upper edge of the <div>
. Their position is not going down or anything, they are constantly on top.
/* Footer */
#footer {
width: 100%;
height: 400px;
background-color: red;
opacity: 0.5;
text-align: center;
font-size: 20px;
letter-spacing: 35px;
white-space: nowrap;
line-height: 12px;
overflow: hidden;
}
.arrange {
width: 20%;
height: 80%;
border: solid 1px black;
display: inline-block;
vertical-align: middle;
background-color: white;
}
<div id="footer">
<div class="arrange"> </div>
<div class="arrange"> </div>
<div class="arrange"> </div>
<div class="arrange"> </div>
</div>