#tab2 h1
{
background: url('Images/ok.png') center no-repeat;
height: 37px;
line-height: 18px;
margin-left: -141px; margin-top:20px; padding-left:141px;
}
<div id="tab2">
<h1 style="font-size: 24px; color: #009944; font-weight: bold;">
充值成功</h1>
<div>