title: Footer horizontal alignment within block / inline-block
body: <p>I have an issue where I just cannot get my footer to line up to a decent looking center aligned text, and center aligned content relative to the width of the sidebar.</p>
  
  <p>Images of my issue are here (not aligned):</p>
  
  <p>sidebar full width:
  <a href="https://i.stack.imgur.com/csPsn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/csPsn.png" alt="enter image description here"></a></p>
  
  <p>sidebar shrunk:
  <a href="https://i.stack.imgur.com/LrhpL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LrhpL.png" alt="enter image description here"></a></p>
  
  <p>My current code is as follows:</p>
  
  <p>CSS</p>
  
  <pre><code>#cl-wrapper .cl-footer {
      border-top: 1px solid #131519;
      box-shadow: 0 1px 0 #2A2C31 inset;
      height: 50px;
      display: block;
      width: 100%;
      background-color: #1F2126;
      color: #777;
      position: fixed;
      bottom: 0;
      text-align: center;
  }
  
  #cl-wrapper .cl-footer &gt; .row {
      clear: both;
      display: inline-block;
      line-height: 19px;
      margin: auto;
      overflow: hidden;
  }
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="container-fluid"&gt;
  &lt;footer class="cl-footer"&gt;
  &lt;div class="row"&gt;
      &lt;?php echo (ENVIRONMENT === 'development') ? 'Page rendered in &lt;strong&gt;{elapsed_time}&lt;/strong&gt; seconds. Using &lt;strong&gt;{memory_usage}&lt;/strong&gt; of memory | ' . 'CodeIgniter Version &lt;strong&gt;' . CI_VERSION . '&lt;/strong&gt;&lt;br /&gt;' : '' ?&gt;Copyright &amp;copy; &lt;?=date('Y')?&gt; | Eridian Pty Ltd | All Rights Reserved
  &lt;/div&gt;
  &lt;/footer&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>