style>
.a{ height:198px;
border:1px solid #666;
display: table-cell;
vertical-align:middle; /*设置水平居中*/
*display: block;
*font-size: 176px;/*约为高度的0.873,*/
width:200px;
height:200px;
}
.a img { /*设置图片垂直居中*/ vertical-align:middle;}
</style>
<div class="a">
<img style="vertical-align:middle;" src="user-logo.gif" />
</div>