<!DOCTYPE HTML>
<html>
<head>
<style>
.dclass{
width:100%;
background-color:red;
text-align:center;
}
.icon {
display: inline-block;
width: 20px;
height: 20px;
background-color: #aaa;
border: solid 1px #000;
}
.aligned {
vertical-align: middle;
}
</style>
</head>
<body>
<div class="dclass">
<span class="aligned">13413413413413413413413413412341323413414134文字</span><span class="icon aligned"></span>
</div>
</body>
</html>