title: List Alignment with CSS
body: <p>I have a list that displays numbers with decimals. I want them all aligned in the center but they have different decimal lengths so it's kinda causing some UI issues. </p>
  
  <p>Example its current displaying something like</p>
  
  <pre><code> 14.88
  18.123
  20.452
   10.22
    3.1
  </code></pre>
  
  <p>Its current HTML &amp; CSS is simply </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>.my-list {
    text-align: center
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul class="my-list"&gt;
    &lt;li&gt;14.88&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Can anyone show me how to update my CSS so it displays something like this</p>
  
  <pre><code>14.88
  18.123
  20.452
  etc
  </code></pre>
  
  <p>In short I want the list  to be aligned on the center, but I want the list items to be aligned on the left. </p>