JSFiddle - React, Tailwind, and code Playground
HTML
<div class="me">
<img src="mywife.png" />Emma Watson</div>
<form action="marry">
<p>Without any extra HTML:<p>
<button class="me" type="submit">
<img src="mywife.png" />
Emma Watson
</button>
<p>With the use of absolute positioning (to achieve <code>vertical-align: top;</code> style):</p>
<button class="me abspos" type="submit">
<span>
<img src="mywife.png"/>
Emma Watson
</span>
</button>
</form>
CSS
.me {
width:200px;
height:200px;
background:green;
text-align:center;
padding: 0;
border-width: 0;
}
.me.abspos {
position: relative;
}
.me.abspos span {
position: absolute;
top: 0;
left: 0;
}
img {
width:200px;
height:50px;
}