title: How to vertically center text next to image?
body: <p>I have the following code and I want to center the text vertically next to the image.</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>.section_content {
      width: 400px;
  }
  
  .section_content &gt; ul &gt; li &gt; img {
      width: 40px;
      height: 40px;
      padding: 5px;
  }
  
  .section_content &gt; ul &gt; li &gt; a {
      vertical-align: top;
  }
  
  .section_content &gt; ul &gt; li {
      list-style-type: none;
  }
  
  .section_content &gt; ul {
      list-style-type: none;
  
      padding-top: 45px;
      padding-left: 5px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="section_content"&gt;
          &lt;ul&gt;
              &lt;li&gt;&lt;img src="img/linkedin.svg"&gt;&lt;a href="https://be.linkedin.com/in/lel"&gt;LinkedIn&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;GitHUb&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>