If you used the div and you want to place the span inside the div at middle of the div both from the top, bottom and left and right. Follow the bellow simple css to place the span inside the div. Add the display:table-cell and vertical-align:middle for div. Now the span will align middle inside the div. Below you can see the Css and HTML code.
CSS:
div{
width:145px;
height: 55px;
display: table-cell;
text-align: center;
vertical-align: middle;
border: 1px solid #ff0000;
}
div span{
font-size: 14px;
font-weight: bold;
color: #616161;
}
HTML:
<div>
<span>Labw3</span>
</div>
OUTPUT:
Labw3