title: CSS list items text and icon alignment
body: <p>I am creating a ul list with css properties. </p>
  
  <pre><code>&lt;div class="footer" style="width: 100%; height: 40px; background-color: #00b3ee"&gt;
      &lt;ul style="list-style-type: none; margin: 0; padding: 0; overflow: hidden; "&gt;
          &lt;li style="float: left; border-right:1px solid #bbb;"&gt;
              &lt;a href="#" style="display: block;color: white;text-align: center; padding: 10px 10px; text-decoration: none;"&gt;item-1 &lt;i class="fa fa-bell"&gt;&lt;/i&gt;&lt;/a&gt;
          &lt;/li&gt;
          &lt;li style="float: left; border-right:1px solid #bbb;"&gt;
              &lt;a href="#" style="display: block;color: white;text-align: center; padding: 10px 10px; text-decoration: none;"&gt;item-1 &lt;i class="fa fa-cog"&gt;&lt;/i&gt;&lt;/a&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This appears like this:</p>
  
  <p><a href="https://i.stack.imgur.com/xRwXJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xRwXJ.png" alt="enter image description here"></a></p>
  
  <p>But I want to appearings text and icon aligned center and   one under the other.</p>