I wonder how to align the text (Div 1, Div 2) vertically the most effeicent way?
<div id="container">
<div>Div 1</div>
<div>Div 2</div>
</div>
#container > div
{
display: inline-block;
border: solid 1px #000;
height: 300px;
}
#container
{
border: solid 1px #ff0000;
text-align: center;
margin: 0px auto;
width: 40%;
}