I am trying to make a layout with a div which have some text in the middle, and bellow that text, 4 social media icons. So I have made a div with another div inside of it, but I can't center the last one vertically...
So, how do I center div "sec10_content" in the middle of div "section10"?
I know that this question has been asked before, but I can't manage the code in my case...
Here's the code:
HTML:
<div class="section10">
<div class="sec10_content">
</div>
</div>
CSS:
.section10
{
width:100%;
height:320px;
vertical-align: middle;
background-color:#222222;
}
.sec10_content
{
width: 50%;
height: 100px;
margin: auto;
border: 1px solid white;
}