I’m not 100% certain of what you’re trying to achieve but how about this:
HTML Code:
<html>
<head>
<style type="text/css">
img {
float: left;
}
h1 {
background-color:#CCC;
color: #3c659b;
float: left;
font-family: arial;
font-size: 13px;
font-weight: bold;
height: 45px; /* This must match the height of the image */
line-height: 45px; /* This must match the height of the box */
margin: 0;
text-align: center;
text-transform: uppercase;
width: 211px;
}
</style>
</head>
<body>
<img src="image.jpg" width="45" height="45" />
<h1>Test</h1>
</body>
</html>
This will give you: