title: Vertically align text next to an image?
body: <p>Why won't <code>vertical-align: middle</code> work?  And yet, <code>vertical-align: top</code> <em>does</em> work.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>span{
    vertical-align: middle;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
    &lt;img src="https://via.placeholder.com/30" alt="small img" /&gt;
    &lt;span&gt;Doesn't work.&lt;/span&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>