Please see my comment to the question. This is the simple illustration of the idea:
<html>
<head>
<title>Two-column demo</title>
<style type="text/css">
div { padding: 2em; }
div.debug { border: thin solid red; }
div.outer { display: table; width: 90%; }
div.left { display: table-cell; width: 1; }
div.right { display: table-cell; text-align: center; vertical-align: middle; font-size: 160%; }
</style>
</head>
<body>
<div class="outer">
<div class="left"><img src="http://www.codeproject.com/script/Membership/ProfileImages/%7B8b7ec440-05c1-492f-9e09-7d256dbd32d6%7D.jpg"/></div>
<div class="right">I can see you…</div>
</div>
</body>
</html>
Note that I use the class "debug" for debugging. Normally, you don't want to see those red borders. But to check up the layout, you can quickly add them by replacing
class="left"
and
class="right"
with
class="left debug"
and
class="right debug"
.
See also:
display — CSS | MDN[
^].
—SA