title: Horizontal center the content of a div with display: table-row
body: <p>I'm having trouble centering the contents of a div with <code>display: table-row</code>.</p>
  <p>Here's a <a href="http://jsfiddle.net/zGLQX/" rel="nofollow noreferrer">Fiddler</a>.</p>
  <p><strong>HTML</strong></p>
  <pre><code>&lt;div class=&quot;table-row&quot;&gt;
      &lt;div class=&quot;left-right-padding&quot;&gt;
          &lt;ul&gt;
              &lt;li&gt;TEXT EXEMPLE 1:&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div class=&quot;left-right-padding&quot;&gt;
          &lt;ul&gt;
              &lt;li&gt;TEXT EXEMPLE 2:&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div class=&quot;left-right-padding&quot;&gt;
          &lt;ul&gt;
              &lt;li&gt;TEXT EXEMPLE 3:&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p><strong>CSS</strong></p>
  <pre><code>html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
      margin: 0;
      padding: 0;
      border: 0;
      font: inherit;
      font-size: 100%;
      vertical-align: baseline;
      outline: none;
      text-decoration: none;
      zoom: 1;
  }
  /* HTML5 display-role reset for older browsers */
   article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
      display: block;
  }
  body {
      line-height: 1;
  }
  ol, ul {
      list-style: none;
  }
  blockquote, q {
      quotes: none;
  }
  blockquote:before, blockquote:after, q:before, q:after {
      content: none;
  }
  table {
      border-collapse: collapse;
      border-spacing: 0;
  }
  .clear {
      clear: both
  }
  .table-row {
      font-weight: bold;
      display: table-row;
      border: 1px solid #000;
  }
  .left-right-padding {
      padding: 0 20px 0 20px;
      display: table-cell;
      text-align: center;
  }
  </code></pre>
  <p>How can I center horizontally the content of a <code>div .table-row</code>?</p>
  <p>I've tried using <code>margin: 0 auto</code> with <code>width: 100%</code>, but it did not work. Neither did using <code>text-align: center</code>.</p>