I've got two divs
that are circles because of a border-radius
. They are inline-blocks, and have multiple lines of text inside:
http://jsfiddle.net/tmyie/hVNsZ/1/
However, I need to center these lines of text vertically within the div. Is this possible?
HTML:
<div class="circle">this is a sentence</div>
<div class="circle">this is<br>multiple<br>lines</div>
CSS:
.circle {
width: 90px;
height: 90px;
border-radius: 90px;
background-color: orange;
text-align: center;
display: inline-block;
overflow: hidden;
}